Arc
The cratis arc command group provides commands for introspecting a running Cratis Arc application. It connects to the Arc application’s built-in introspection HTTP endpoints to discover registered commands and queries.
Connection Flags
Section titled “Connection Flags”All cratis arc commands accept the following connection flag:
| Flag | Description |
|---|---|
--url <URL> | Base URL of the Arc application. Overrides the ARC_URL environment variable. Defaults to http://localhost:5000. |
Connection Resolution Order
Section titled “Connection Resolution Order”The CLI resolves the Arc application URL in this order:
--urlflagARC_URLenvironment variableProperties/launchSettings.jsonorproperties/launchSettings.jsonapplicationUrl- Default:
http://localhost:5000
Sub-Commands
Section titled “Sub-Commands”| Sub-command | Description |
|---|---|
commands | List registered command endpoints in the Arc application. |
queries | List registered query endpoints in the Arc application. |
Global Flags
Section titled “Global Flags”All cratis arc commands also inherit the top-level global flags:
| Flag | Description |
|---|---|
-o, --output <FORMAT> | Output format: table, plain, json, json-compact. |
-q, --quiet | Output only key identifiers, one per line. |
--debug | Print debug information to stderr. |