Documentation
¶
Overview ¶
Package cmd provides shared utilities for internal CLI commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveProjectPath ¶
ResolveProjectPath resolves the project root from the given path. If path is "." (the default), it attempts workspace detection by walking up from CWD to find a .gtb/manifest.yaml. If detection fails, the original path is returned unchanged (the user may be generating a new project).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package generate provides Cobra commands for scaffolding new CLI projects (project/skeleton), adding commands to existing projects, converting implementations to AI-generated code, and adding flags to commands — all driven by manifest definitions and interactive wizards.
|
Package generate provides Cobra commands for scaffolding new CLI projects (project/skeleton), adding commands to existing projects, converting implementations to AI-generated code, and adding flags to commands — all driven by manifest definitions and interactive wizards. |
|
Package regenerate provides Cobra commands for regenerating project command registration files (cmd.go) and manifests from existing project structure, without overwriting implementation files unless explicitly forced.
|
Package regenerate provides Cobra commands for regenerating project command registration files (cmd.go) and manifests from existing project structure, without overwriting implementation files unless explicitly forced. |
|
Package remove provides the Cobra command for removing commands and their associated generated files from a project, updating the manifest accordingly.
|
Package remove provides the Cobra command for removing commands and their associated generated files from a project, updating the manifest accordingly. |
|
Package root provides the internal root command for the gtb CLI itself, registering the generate, regenerate, and remove subcommand groups.
|
Package root provides the internal root command for the gtb CLI itself, registering the generate, regenerate, and remove subcommand groups. |
Click to show internal directories.
Click to hide internal directories.