Documentation
¶
Overview ¶
cligen reads bron-open-api-public.json and emits cobra command definitions under generated/. Resources come from OpenAPI tags (kebab-case), verbs are derived from the HTTP method + URL shape: GET /xxx → list, GET /xxx/{id} → get, POST → create, PUT/PATCH → update, DELETE → delete. Trailing path segments after an id become the verb (POST /xxx/{id}/yyy → yyy). Names map 1:1 with the spec — no aliases, no remapping — so the spec stays the source of truth and the CLI regenerates losslessly on every release.
Click to show internal directories.
Click to hide internal directories.