{"id":27881846,"url":"https://github.com/src-d/go-cli","last_synced_at":"2025-05-05T05:05:44.552Z","repository":{"id":57485212,"uuid":"141603568","full_name":"src-d/go-cli","owner":"src-d","description":"CLI scaffolding for Go","archived":false,"fork":false,"pushed_at":"2019-08-21T11:10:27.000Z","size":4979,"stargazers_count":7,"open_issues_count":5,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-05T05:05:37.601Z","etag":null,"topics":["cli","golang"],"latest_commit_sha":null,"homepage":"https://godoc.org/gopkg.in/src-d/go-cli.v0","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/src-d.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":"2018-07-19T16:11:46.000Z","updated_at":"2023-08-23T16:34:48.000Z","dependencies_parsed_at":"2022-08-26T11:11:12.989Z","dependency_job_id":null,"html_url":"https://github.com/src-d/go-cli","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/src-d%2Fgo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fgo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fgo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fgo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-d","download_url":"https://codeload.github.com/src-d/go-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252442486,"owners_count":21748451,"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":["cli","golang"],"created_at":"2025-05-05T05:05:44.008Z","updated_at":"2025-05-05T05:05:44.544Z","avatar_url":"https://github.com/src-d.png","language":"Go","readme":"# go-cli [![GoDoc](https://godoc.org/gopkg.in/src-d/go-cli.v0?status.svg)](https://godoc.org/gopkg.in/src-d/go-cli.v0)  [![Build Status](https://travis-ci.org/src-d/go-cli.svg?branch=master)](https://travis-ci.org/src-d/go-cli) [![Build status](https://ci.appveyor.com/api/projects/status/xrcrytlq7ou5ll3r?svg=true)](https://ci.appveyor.com/project/mcuadros/go-cli) [![codecov](https://codecov.io/gh/src-d/go-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/go-cli)\n\nA thin wrapper around common libraries used in our CLI apps (`jessevdk/go-flags`, `src-d/go-log`, `pprof`) to reduce boilerplate code and help in being more homogeneous with respect how our CLI work and look like.\n\nIt provides:\n- Struct tags to specify command names and descriptions (see below).\n- Default version subcommand.\n- Default completion subcommand for bash completion.\n- Flags and environment variables to setup logging with src-d/go-log.\n- Flags and environment variables to setup a http/pprof endpoint.\n- Signal handling.\n\nFor further details, look at `doc.go`.\n\n## License\n\nApache License Version 2.0, see [LICENSE](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fgo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-d%2Fgo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fgo-cli/lists"}