Documentation
¶
Overview ¶
Package cli implements the powercontext command tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorAlreadyReported ¶
ErrorAlreadyReported reports whether a command has already rendered the complete failure for the user. It is used by the process entrypoint only.
func New ¶
func New(version VersionInfo) *cobra.Command
New constructs the complete local-server and remote-client command tree.
Types ¶
type UsageError ¶
type UsageError struct {
// contains filtered or unexported fields
}
UsageError marks invalid command-line input. It is intentionally separate from Server and transport failures so the process can preserve the CLI's conventional exit status 2 without inspecting error text.
func (*UsageError) Error ¶
func (e *UsageError) Error() string
func (*UsageError) Unwrap ¶
func (e *UsageError) Unwrap() error
type VersionInfo ¶
Source Files
¶
- artifact_commands.go
- candidate_commands.go
- config_collection.go
- config_command.go
- config_model.go
- doc.go
- doctor.go
- external_skill_commands.go
- integration_catalog.go
- integration_claude.go
- integration_codex.go
- integration_dsh.go
- integration_hermes.go
- integration_openclaw.go
- integration_opencode.go
- integration_pi.go
- integration_source.go
- integration_workbuddy.go
- process.go
- references.go
- root.go
- server_command.go
- setup.go
- setup_select.go
- system_commands.go
Click to show internal directories.
Click to hide internal directories.