init
Use capa init when you start a new project. It writes a default capabilities file (if missing) and registers the project in capa’s database against the local server.
Synopsis
Section titled “Synopsis”capa init [-f|--format json|yaml]| Flag | Description |
|---|---|
-f, --format <format> | File format: json or yaml (default: yaml) |
What it does
Section titled “What it does”- Creates
capabilities.yamlorcapabilities.jsonin the current directory (skips creation if the file already exists). - Ensures the capa server is running.
- Registers the project path and configures it on the server.
Examples
Section titled “Examples”capa initcapa init -f yamlcapa init --format jsonSee also
Section titled “See also”- install — apply the capabilities file to providers
- Quick Start (managed)
- Capabilities file