{"id":28847638,"url":"https://github.com/livebud/cli","last_synced_at":"2026-04-13T06:12:07.068Z","repository":{"id":176689622,"uuid":"656539021","full_name":"livebud/cli","owner":"livebud","description":"Build beautiful CLIs in Go.","archived":false,"fork":false,"pushed_at":"2025-11-10T22:14:55.000Z","size":263,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-11T00:20:15.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/livebud.png","metadata":{"files":{"readme":"Readme.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-21T06:41:47.000Z","updated_at":"2025-11-10T22:15:00.000Z","dependencies_parsed_at":"2024-12-09T06:24:53.753Z","dependency_job_id":"1e397f00-46e4-46f4-9da5-d132bf21255f","html_url":"https://github.com/livebud/cli","commit_stats":null,"previous_names":["livebud/cli"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/livebud/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livebud","download_url":"https://codeload.github.com/livebud/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livebud%2Fcli/sbom","scorecard":{"id":594199,"data":{"date":"2025-08-11","repo":{"name":"github.com/livebud/cli","commit":"fe50e2451387072952cf2f4fa58316030d377ea1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: License.md:0","Info: FSF or OSI recognized license: MIT License: License.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T22:44:10.946Z","repository_id":176689622,"created_at":"2025-08-20T22:44:10.946Z","updated_at":"2025-08-20T22:44:10.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29990835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":"2025-06-19T19:40:59.746Z","updated_at":"2026-03-02T02:00:43.637Z","avatar_url":"https://github.com/livebud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/livebud/cli.svg)](https://pkg.go.dev/github.com/livebud/cli)\n\nBuild beautiful CLIs in Go. A simpler alternative to [kingpin](https://github.com/alecthomas/kingpin).\n\n\u003cimg width=\"601\" alt=\"CleanShot 2023-06-20 at 22 23 14@2x\" src=\"https://github.com/livebud/cli/assets/170299/f29b7f43-ff1a-445e-9642-af300742ae4f\"\u003e\n\n## Features\n\n- Type-safe, fluent API\n- Flag, command and argument support\n- Required and optional parameters\n- Built entirely on the [flag](https://pkg.go.dev/flag) package the standard library\n- Supports both space-based and colon-based subcommands (e.g. `controller new` \u0026 `controller:new`)\n- `SIGINT` context cancellation out-of-the-box\n- Custom help messages\n- Built-in tab completion with `complete -o nospace -C \u003ccmd\u003e \u003ccmd\u003e`\n- Respects `NO_COLOR`\n\n## Install\n\n```sh\ngo get -u github.com/livebud/cli\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n  \"context\"\n  \"fmt\"\n  \"os\"\n\n  \"github.com/livebud/cli\"\n)\n\nfunc main() {\n  flag := new(Flag)\n  cli := cli.New(\"app\", \"your awesome cli\").Writer(os.Stdout)\n  cli.Flag(\"log\", \"log level\").Short('L').String(\u0026flag.Log).Default(\"info\")\n  cli.Flag(\"embed\", \"embed the code\").Bool(\u0026flag.Embed).Default(false)\n\n  { // new \u003cdir\u003e\n    cmd := \u0026New{Flag: flag}\n    cli := cli.Command(\"new\", \"create a new project\")\n    cli.Arg(\"dir\").String(\u0026cmd.Dir)\n    cli.Run(cmd.Run)\n  }\n\n  ctx := context.Background()\n  if err := cli.Parse(ctx, os.Args[1:]...); err != nil {\n    fmt.Fprintln(os.Stderr, err)\n    os.Exit(1)\n  }\n}\n\ntype Flag struct {\n  Log   string\n  Embed bool\n}\n\ntype New struct {\n  Flag *Flag\n  Dir  string\n}\n\n// Run new\nfunc (n *New) Run(ctx context.Context) error {\n  return nil\n}\n```\n\n## Contributing\n\nFirst, clone the repo:\n\n```sh\ngit clone https://github.com/livebud/cli\ncd cli\n```\n\nNext, install dependencies:\n\n```sh\ngo mod tidy\n```\n\nFinally, try running the tests:\n\n```sh\ngo test ./...\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivebud%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivebud%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivebud%2Fcli/lists"}