Skip to content

arc commands list

Lists all registered command endpoints in the connected Arc application.

Terminal window
cratis arc commands list [--url <URL>] [-o <FORMAT>]
OptionDescription
--url <URL>Base URL of the Arc application (default: http://localhost:5000).
-o, --output <FORMAT>Output format: table, plain, json, json-compact.

Each row contains:

ColumnDescription
NameThe simple type name of the command (e.g. OpenDebitAccount).
NamespaceThe dot-separated namespace path of the command.
RouteThe HTTP POST route registered for this command (e.g. /api/accounts/open-debit-account).
SummaryThe XML documentation summary of the command type, if available.
Terminal window
# List commands using the default URL
cratis arc commands list
# List commands from a specific URL
cratis arc commands list --url https://myapp.local:5001
# Output as compact JSON
cratis arc commands list -o json-compact

The introspection endpoint GET /.cratis/commands must be registered in the Arc application. This happens automatically when the application calls MapIntrospectionEndpoints() during startup.