docs(cmd/api): add AX usage example to AddAPICommands

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 08:03:24 +00:00
parent 8149b0abf2
commit 8d92ee29d4

View file

@ -8,7 +8,12 @@ func init() {
cli.RegisterCommands(AddAPICommands)
}
// AddAPICommands registers the 'api' command group.
// AddAPICommands registers the `api` command group.
//
// Example:
//
// root := &cli.Command{Use: "root"}
// api.AddAPICommands(root)
func AddAPICommands(root *cli.Command) {
apiCmd := cli.NewGroup("api", "API specification and SDK generation", "")
root.AddCommand(apiCmd)