{"id":16816051,"url":"https://github.com/samugi/simple-clargs","last_synced_at":"2025-03-17T12:44:37.890Z","repository":{"id":57549676,"uuid":"306881227","full_name":"samugi/simple-clargs","owner":"samugi","description":"Simple module to manage command line args in go","archived":false,"fork":false,"pushed_at":"2020-11-06T18:36:29.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-23T22:30:00.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samugi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-24T12:42:48.000Z","updated_at":"2020-11-06T18:28:29.000Z","dependencies_parsed_at":"2022-09-01T07:10:54.396Z","dependency_job_id":null,"html_url":"https://github.com/samugi/simple-clargs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samugi%2Fsimple-clargs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samugi%2Fsimple-clargs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samugi%2Fsimple-clargs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samugi%2Fsimple-clargs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samugi","download_url":"https://codeload.github.com/samugi/simple-clargs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244038086,"owners_count":20387825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T10:37:09.970Z","updated_at":"2025-03-17T12:44:37.868Z","avatar_url":"https://github.com/samugi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-clargs\nSimple module to manage command line args in go\n\n## Example usage\n```\nOptionInput := clargs.New(\"-i\", \"--input\", \"Input file path\", true, true)\nOptionOutput := clargs.New(\"-o\", \"--output\", \"Ouput file path\", true, false)\n\noptions := []*clargs.Option{\u0026OptionInput, \u0026OptionOutput}\nargs := os.Args[1:]\n\nusage := \"./executable [options...]\"\n\nclargs.Init(usage, options, args)\nclargs.CheckArgs()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamugi%2Fsimple-clargs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamugi%2Fsimple-clargs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamugi%2Fsimple-clargs/lists"}