Documentation
¶
Overview ¶
Package cli wires codexsm commands to the internal session and audit services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is the application version and is usually injected at build time.
Functions ¶
func NewRootCmd ¶
NewRootCmd builds the top-level codexsm command and registers all subcommands.
func WithExitCode ¶
WithExitCode wraps an error with a process exit code for main() handling.
Types ¶
type ExitError ¶
type ExitError struct {
// Code is the process exit code that should be returned to the shell.
Code int
// Err is the wrapped error exposed to callers and users.
Err error
}
ExitError carries a user-facing error plus an intended process exit code.
Click to show internal directories.
Click to hide internal directories.