{"id":15736156,"url":"https://github.com/rwxrob/bonzai-example","last_synced_at":"2025-03-13T07:32:04.115Z","repository":{"id":57691861,"uuid":"481920751","full_name":"rwxrob/bonzai-example","owner":"rwxrob","description":"🌳 Go Bonzai™ Composite Command Tree, example template with documentation to help you start your own composite monolith and multicall binaries","archived":false,"fork":false,"pushed_at":"2022-11-28T22:20:44.000Z","size":111,"stargazers_count":6,"open_issues_count":6,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T01:41:42.545Z","etag":null,"topics":["bonzai","commander","composition","example","go","golang","template"],"latest_commit_sha":null,"homepage":"","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/rwxrob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"rwxrob","patreon":"rwxrob","custom":["https://twitch.tv/rwxrob","https://youtube.com/rwxrob"]}},"created_at":"2022-04-15T10:22:17.000Z","updated_at":"2024-09-15T21:48:22.000Z","dependencies_parsed_at":"2023-01-22T02:04:37.565Z","dependency_job_id":null,"html_url":"https://github.com/rwxrob/bonzai-example","commit_stats":null,"previous_names":[],"tags_count":13,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxrob%2Fbonzai-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxrob%2Fbonzai-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxrob%2Fbonzai-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwxrob%2Fbonzai-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwxrob","download_url":"https://codeload.github.com/rwxrob/bonzai-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221349724,"owners_count":16802687,"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":["bonzai","commander","composition","example","go","golang","template"],"created_at":"2024-10-04T01:21:18.629Z","updated_at":"2024-10-24T21:05:14.052Z","avatar_url":"https://github.com/rwxrob.png","language":"Go","readme":"# 🌳 Go Bonzai™ Composite Command Tree\n\n*Create a new GitHub project using this template and change this\nREADME.md to match your project. Make all your template changes before\nmaking your first commit.*\n\n[![GoDoc](https://godoc.org/github.com/rwxrob/bonzai-example?status.svg)](https://godoc.org/github.com/rwxrob/bonzai-example)\n[![License](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](LICENSE)\n\n## Install\n\nThis command can be installed as a standalone program or composed into a\nBonzai command tree.\n\nStandalone\n\n```\ngo install github.com/rwxrob/bonzai-example/cmd/bonzai-example@latest\n```\n\nComposed\n\n```go\npackage z\n\nimport (\n\tZ \"github.com/rwxrob/bonzai/z\"\n\texample \"github.com/rwxrob/bonzai-example\"\n)\n\nvar Cmd = \u0026Z.Cmd{\n\tName:     `z`,\n\tCommands: []*Z.Cmd{help.Cmd, example.Cmd, example.BazCmd},\n}\n```\n\n## Tab Completion\n\nTo activate bash completion just use the `complete -C` option from your\n`.bashrc` or command line. There is no messy sourcing required. All the\ncompletion is done by the program itself.\n\n```\ncomplete -C bonzai-example bonzai-example\n```\n\nIf you don't have bash or tab completion check use the shortcut\ncommands instead.\n\n## Embedded Documentation\n\nAll documentation (like manual pages) has been embedded into the source\ncode of the application. See the source or run the program with help to\naccess it.\n\n## Reminders\n\n* Change `bonzai-example` every place to your project name (`git grep\n  bonzai-example`)\n* Remove anything you don't need\n* Change `.github/FUNDING.yaml` to your own information\n* Update `.gitignore` to your liking\n* Will need to `go get -u` to update dependencies\n\n## Other Examples\n\n* \u003chttps://github.com/rwxrob/z\u003e - the one that started it all\n","funding_links":["https://github.com/sponsors/rwxrob","https://patreon.com/rwxrob","https://twitch.tv/rwxrob","https://youtube.com/rwxrob"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwxrob%2Fbonzai-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwxrob%2Fbonzai-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwxrob%2Fbonzai-example/lists"}