These pages cover the current public API for citadel_cli.
One important concept up front: Citadel is prefix-driven. Users usually do not type full command names. They type the shortest unambiguous prefix and Citadel expands it into the full command path.
Read them in order:
- Installing Citadel in an existing React app
- Defining commands
- Embedding Citadel and choosing a display mode
- Configuring Citadel and command history
- Using integration recipes
Notes:
- Citadel is a React component library, so the examples assume an existing React app.
- Citadel mounts into a shadow DOM, so its UI styles stay isolated from the host app.
- The code samples in these docs are backed by type-checked examples in
docs/examples/.