Documentation
¶
Overview ¶
Package cmd provides the command line interface and root commands for gzh-manager. This includes the main CLI structure, version management, and command registration.
Index ¶
- func Execute(ctx context.Context, version string) error
- func NewQualityCmd(appCtx *app.AppContext) *cobra.Command
- func NewRootCmd(ctx context.Context, version string, appCtx *app.AppContext) *cobra.Command
- func NewShellforgeCmd(ctx context.Context, appCtx *app.AppContext) *cobra.Command
- func RegisterPMCmd(appCtx *app.AppContext)
- func RegisterQualityCmd(appCtx *app.AppContext)
- func RegisterShellforgeCmd(appCtx *app.AppContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQualityCmd ¶
func NewQualityCmd(appCtx *app.AppContext) *cobra.Command
NewQualityCmd creates the quality command by wrapping gzh-cli-quality. This delegates all quality tool functionality to the external gzh-cli-quality package, avoiding code duplication and ensuring consistency with the standalone quality CLI.
The wrapper allows customization of the command metadata while preserving all subcommands and functionality from the gzh-cli-quality implementation.
func NewRootCmd ¶
NewRootCmd creates the root command and wires up subcommands with shared context.
func NewShellforgeCmd ¶
NewShellforgeCmd creates the shellforge command by wrapping gzh-cli-shellforge. This delegates all shell configuration management functionality to the external gzh-cli-shellforge package, avoiding code duplication and ensuring consistency with the standalone shellforge CLI.
The wrapper allows customization of the command metadata while preserving all subcommands and functionality from the gzh-cli-shellforge implementation.
func RegisterPMCmd ¶
func RegisterPMCmd(appCtx *app.AppContext)
RegisterPMCmd is a stub when pm_external is not enabled. The actual PM command integration requires the external library.
func RegisterQualityCmd ¶
func RegisterQualityCmd(appCtx *app.AppContext)
RegisterQualityCmd registers the quality command with the command registry.
func RegisterShellforgeCmd ¶
func RegisterShellforgeCmd(appCtx *app.AppContext)
RegisterShellforgeCmd registers the shellforge command with the command registry.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package devenv provides development environment management commands.
|
Package devenv provides development environment management commands. |
|
Package doctor provides system diagnostics and health check commands.
|
Package doctor provides system diagnostics and health check commands. |
|
Package git provides repository lifecycle management commands.
|
Package git provides repository lifecycle management commands. |
|
패키지 gitsync는 `gzh-cli-gitforge`의 공용 Cobra 커맨드 트리를 `gz git-sync`로 노출합니다.
|
패키지 gitsync는 `gzh-cli-gitforge`의 공용 Cobra 커맨드 트리를 `gz git-sync`로 노출합니다. |
|
Package ide provides IDE settings monitoring and synchronization commands.
|
Package ide provides IDE settings monitoring and synchronization commands. |
|
Package netenv provides network environment management commands.
|
Package netenv provides network environment management commands. |
|
Package registry provides command registration and lifecycle management.
|
Package registry provides command registration and lifecycle management. |
|
Package repoconfig provides repository configuration management commands.
|
Package repoconfig provides repository configuration management commands. |
|
Package shell provides shell integration and command execution functionality.
|
Package shell provides shell integration and command execution functionality. |
|
Package synclone provides commands for synchronizing and cloning repositories from GitHub, GitLab, Gitea, and other Git platforms.
|
Package synclone provides commands for synchronizing and cloning repositories from GitHub, GitLab, Gitea, and other Git platforms. |