arc commands list
Lists all registered command endpoints in the connected Arc application.
cratis arc commands list [--url <URL>] [-o <FORMAT>]Options
Section titled “Options”| Option | Description |
|---|---|
--url <URL> | Base URL of the Arc application (default: http://localhost:5000). |
-o, --output <FORMAT> | Output format: table, plain, json, json-compact. |
Output
Section titled “Output”Each row contains:
| Column | Description |
|---|---|
| Name | The simple type name of the command (e.g. OpenDebitAccount). |
| Namespace | The dot-separated namespace path of the command. |
| Route | The HTTP POST route registered for this command (e.g. /api/accounts/open-debit-account). |
| Summary | The XML documentation summary of the command type, if available. |
Examples
Section titled “Examples”# List commands using the default URLcratis arc commands list
# List commands from a specific URLcratis arc commands list --url https://myapp.local:5001
# Output as compact JSONcratis arc commands list -o json-compactThe introspection endpoint GET /.cratis/commands must be registered in the Arc application. This happens automatically when the application calls MapIntrospectionEndpoints() during startup.