2025-10-28 12:06:05 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/leaanthony/clir"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// AddAPICommands adds the 'api' command and its subcommands to the given parent command.
|
|
|
|
|
func AddAPICommands(parent *clir.Command) {
|
|
|
|
|
// Create the 'api' command
|
|
|
|
|
apiCmd := parent.NewSubCommand("api", "Tools for managing service APIs")
|
|
|
|
|
|
|
|
|
|
// Add the 'sync' command to 'api'
|
|
|
|
|
AddSyncCommand(apiCmd)
|
2025-10-28 21:42:29 +00:00
|
|
|
|
2026-01-27 21:08:51 +00:00
|
|
|
// TODO: Add the 'test-gen' command to 'api'
|
|
|
|
|
// AddTestGenCommand(apiCmd)
|
2025-10-28 12:06:05 +00:00
|
|
|
}
|