Documentation
¶
Index ¶
- Constants
- func NewAllowCmd() *cobra.Command
- func NewBackupCmd() *cobra.Command
- func NewCheckoutCmd() *cobra.Command
- func NewClaudeCmd() *cobra.Command
- func NewClaudeInstallCmd() *cobra.Command
- func NewClaudeSnippetCmd() *cobra.Command
- func NewCompletionCmd() *cobra.Command
- func NewConfigCmd() *cobra.Command
- func NewConfigShowCmd() *cobra.Command
- func NewExecCmd() *cobra.Command
- func NewInitCmd() *cobra.Command
- func NewProjectCmd() *cobra.Command
- func NewPushCmd() *cobra.Command
- func NewRmCmd() *cobra.Command
- func NewRollbackCmd() *cobra.Command
- func NewRootCmd(version, commit, date string) *cobra.Command
- func NewStatusCmd() *cobra.Command
- func NewUpdateCmd() *cobra.Command
- func NewVersionCmd(version, commit, date string) *cobra.Command
Constants ¶
const ( // ExitSuccess indicates the operation completed successfully. ExitSuccess = 0 // ExitError indicates a general error (invalid args, git failure, etc.). ExitError = 1 // ExitConflict indicates a merge conflict was detected during update. ExitConflict = 2 )
Exit code constants for consistent process exit status.
Variables ¶
This section is empty.
Functions ¶
func NewAllowCmd ¶ added in v1.1.1
NewAllowCmd creates the allow subcommand that adds safe.directory entries for the root repository and all submodules that have dubious ownership errors.
func NewBackupCmd ¶
NewBackupCmd creates the backup command with list and clean subcommands.
func NewCheckoutCmd ¶ added in v1.1.3
NewCheckoutCmd creates the checkout subcommand.
func NewClaudeCmd ¶
NewClaudeCmd creates the claude command with install and snippet subcommands.
func NewClaudeInstallCmd ¶
NewClaudeInstallCmd creates the "claude install" subcommand that copies slash command files to ~/.claude/commands/ssu/.
func NewClaudeSnippetCmd ¶
NewClaudeSnippetCmd creates the "claude snippet" subcommand that prints the CLAUDE.md snippet for SSU.
func NewCompletionCmd ¶
NewCompletionCmd creates the completion subcommand for shell completion generation.
func NewConfigCmd ¶
NewConfigCmd creates the config command with subcommands.
func NewConfigShowCmd ¶
NewConfigShowCmd creates the "config show" subcommand that prints the merged configuration with source annotations.
func NewProjectCmd ¶
NewProjectCmd creates the project subcommand.
func NewRollbackCmd ¶
NewRollbackCmd creates the rollback subcommand.
func NewRootCmd ¶
NewRootCmd creates the root cobra command with global flags and all subcommands.
func NewVersionCmd ¶
NewVersionCmd creates the version subcommand that prints build information.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package compat detects old-style SSU flags (from the bash version) and prints friendly migration hints pointing users to the new subcommand syntax.
|
Package compat detects old-style SSU flags (from the bash version) and prints friendly migration hints pointing users to the new subcommand syntax. |
|
Package output provides color-aware terminal output utilities for SSU.
|
Package output provides color-aware terminal output utilities for SSU. |
|
Package tui provides shared lipgloss styles and bubbletea components for SSU.
|
Package tui provides shared lipgloss styles and bubbletea components for SSU. |