{"id":21032815,"url":"https://github.com/polaris1119/command","last_synced_at":"2025-12-27T12:07:12.331Z","repository":{"id":7066818,"uuid":"8351971","full_name":"polaris1119/command","owner":"polaris1119","description":"实现类型go命令管理功能，方便管理子命令以及输出帮助信息等","archived":false,"fork":false,"pushed_at":"2013-02-22T06:48:06.000Z","size":112,"stargazers_count":17,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-20T15:40:41.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polaris1119.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-22T06:39:59.000Z","updated_at":"2019-04-28T02:29:01.000Z","dependencies_parsed_at":"2022-07-30T09:48:05.814Z","dependency_job_id":null,"html_url":"https://github.com/polaris1119/command","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polaris1119%2Fcommand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polaris1119%2Fcommand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polaris1119%2Fcommand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polaris1119%2Fcommand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polaris1119","download_url":"https://codeload.github.com/polaris1119/command/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243475125,"owners_count":20296708,"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-11-19T12:45:55.355Z","updated_at":"2025-12-27T12:07:12.280Z","avatar_url":"https://github.com/polaris1119.png","language":null,"readme":"command\n=======\n\n实现类型go命令管理功能，方便管理子命令以及输出帮助信息等\n\n使用方法\n====\n    package main\n\n    import (\n        \"command\"\n    )\n\n    var cmdInstall = \u0026command.Command{\n        UsageLine: \"install [flags] [packages]\",\n        Short:     \"compile and install packages and dependencies\",\n        Long: `\n    Install compiles and installs the packages named by the import paths,\n    along with their dependencies.\n        `,\n    }\n\n    func init() {\n        cmdInstall.Run = runInstall\n    }\n\n    func main() {\n        usageLine := \"autogo is a useful tool that helps building go projects automatically\"\n        commands := []*command.Command{\n            cmdInstall,\n        }\n        command.InitProgram(usageLine, commands)\n    }\n\n    func runInstall(cmd *command.Command, args []string) {\n    }\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolaris1119%2Fcommand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolaris1119%2Fcommand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolaris1119%2Fcommand/lists"}