package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package root implements the ctx status command.
It shows a context summary including file presence, token estimates,
and task counts.
Cmd returns the status command.
Flags:
- --json: Output as JSON for machine parsing
- --verbose, -v: Include file content previews
Returns:
- *cobra.Command: Configured status command with flags registered
Run executes the status command logic.
Parameters:
- cmd: Cobra command for output stream
- jsonOutput: If true, output as JSON
- verbose: If true, include file content previews
Returns:
- error: Non-nil if context loading fails
Source Files
¶
Click to show internal directories.
Click to hide internal directories.