{"id":15318537,"url":"https://github.com/appleboy/golang-cli-example","last_synced_at":"2025-09-25T20:45:02.170Z","repository":{"id":49735703,"uuid":"82144360","full_name":"appleboy/golang-cli-example","owner":"appleboy","description":"CLI Example for Golang","archived":false,"fork":false,"pushed_at":"2017-02-17T13:25:55.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-13T13:17:31.304Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleboy.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":"2017-02-16T05:49:27.000Z","updated_at":"2025-05-07T13:04:12.000Z","dependencies_parsed_at":"2022-09-11T06:06:19.202Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/golang-cli-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appleboy/golang-cli-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgolang-cli-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgolang-cli-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgolang-cli-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgolang-cli-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/golang-cli-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fgolang-cli-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276977976,"owners_count":25739022,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01T09:00:49.391Z","updated_at":"2025-09-25T20:45:02.137Z","avatar_url":"https://github.com/appleboy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang-cli-example\n\nCLI Example for Golang\n\n## [How to use flag in Golang](./example01)\n\n* [#1](https://github.com/appleboy/golang-cli-example/blob/master/example01/README.md#build) Learn how to build binary.\n* [#2](https://github.com/appleboy/golang-cli-example/blob/master/example01/README.md#execute) Show help page in command line.\n\n## [Write command line tool using urfave/cli](./example02)\n\n* [#1](https://github.com/appleboy/golang-cli-example/blob/master/example02/README.md#installation) Install urfave/cli package\n* [#2](https://github.com/appleboy/golang-cli-example/blob/master/example02/Makefile#L13-L17) Build docker image\n* [#3](https://github.com/appleboy/golang-cli-example/blob/master/example02/Makefile#L19-L22) Cross Compile in Golang\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fgolang-cli-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fgolang-cli-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fgolang-cli-example/lists"}