This CLI is generated from OpenAPI spec which is synced from other source. Do not edit files under api/ by hand.
Here is the project structure of the repo. Please ensure you follow the current convention when making contributions.
| Area | Role |
|---|---|
main.go |
Program entrypoint |
cmd/root.go |
Root command, global flags, wiring |
cmd/api/ |
OpenAPI-backed shorthand commands, routing, tests |
internal/apispec/ |
OpenAPI load/cache for discovery |
internal/teapi/ |
Generated and raw API client |
internal/config/, internal/output/, internal/cliurls/, internal/version/ |
Shared CLI behavior |
In case you'd like to submit your contribution, the following steps must be followed:
- Fork the repository
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request