Skip to content

CLI Reference

All SWAO commands follow the pattern swao <command> [flags].

Commands

swao doctor

Verifies that the environment is correctly configured and all required dependencies are reachable.

FlagDescription
--jsonEmit results as JSON instead of the default table

Example:

bash
swao doctor

swao assess

Runs a compliance assessment for a configured application.

FlagDescription
--app <name>Application identifier as defined in .swao.yml
--framework <id>Override the framework declared in the config file
--interactiveLaunch the TUI after the assessment completes
--output <path>Write the report to a custom output path
--quietSuppress progress output; print only the final summary

Example:

bash
swao assess --app my-app --framework gdpr

swao report

Generates or re-opens the HTML report for the most recent assessment.

FlagDescription
--openOpen the report in the default browser after generation
--output <path>Write the HTML file to a custom path

Example:

bash
swao report --open

swao framework list

Lists all compliance frameworks available in the current installation.

FlagDescription
--jsonEmit the list as JSON

Example:

bash
swao framework list

swao mcp

Starts the SWAO Model Context Protocol server, exposing SWAO tools to compatible AI clients.

FlagDescription
--httpListen on HTTP transport (default: http://localhost:3737)
--port <n>Override the default port

Example:

bash
swao mcp --http --port 3737

Global Flags

These flags are accepted by every command:

FlagDescription
--help, -hShow help for the current command
--version, -vPrint the SWAO version and exit
--config <path>Use a config file other than .swao.yml in the current directory

SWAO is an Accenture open-source project.