# axon

Source: https://usecns.dev/axon-cli-usage/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

```
axon [--corpus <directory>] [--db <sqlite-path>] <command>
```

Global options work on subcommands: `--corpus` defaults to the current directory; `--db` overrides `AXON_DB_PATH`, then default `.axon/axon.db` (legacy read fallback `.lux/lux.db`). Relative database paths use the corpus. `-h, --help` shows help; `-V, --version` shows the workspace version (1.2.2 at this pin). A subcommand is required. Unknown options/invalid typed values are parser errors (exit 2); runtime errors generally exit 1. Missing default databases can be auto-built by query handlers when `.git` exists; explicit database paths do not get that fallback.