ctx
CTX CLI keeps project execution context for developers and AI.
ctx
The main entry point for CTX CLI.
Options
| options | shorthand | required | description |
|---|---|---|---|
| --help | -h | Show this help message and exit. | |
| --version | -V | Print version information and exit. |
Subcommands
- status, ps - Displays the current execution status.
- init, i - Initialize the project context.
- generate, g - Generate project artifacts.
- session, s - Manage project sessions.
- start, st - Start a new project session.
- task, t - Manage project tasks.
- log, l - Manage project logs.
- logs - List recent logs.
- decision, dec - Manage project decisions.
What it does
Running ctx without a command displays the CTX CLI banner, the current version, and a short description of CTX.
It also provides a link to the documentation for the current version and points to ctx --help for command usage.
When to use it
Run ctx when you want a quick introduction to the installed CTX version or a reminder of where to find its documentation.
Use ctx --help when you want to see the available commands and their options.
How it works
When no subcommand is provided, CTX displays static, version-specific information and exits.
The root command does not create or modify project context.
Examples
Display CTX information
ctx
Displays the CTX banner, installed version, documentation location, and a short introduction.
Show available commands
ctx --help
Displays the available top-level commands and global options.