CLI Commands
The Nexudus CLI follows a consistentnexudus <entity> <action> pattern. Every entity supports a standard set of operations where applicable.
Command tree
New entity types are added regularly. Run
nexudus --help to see all currently available commands, or run nexudus doctor --agent to get a
machine-readable list.Global flags
These flags can be added to any command:| Flag | Description |
|---|---|
--json | Output raw JSON envelope (for scripting) |
--md | Output as Markdown tables |
--agent | Output JSON envelope with enhanced summary (for AI assistants) |
--base-url <url> | Override the API base URL |
--yes or -y | Skip confirmation prompts (e.g., on delete) |
Common operations
Listing entities
--queryfilters results by name or keyword.--businessscopes results to a specific business (location).--pageand--sizecontrol pagination. Default page size is 25; use--size 100for larger pages.
Getting a single entity
List responses return a simplified projection without collection properties (e.g.,
Tariffs, Teams, LinkedResources). To see all fields including lists, always fetch the individual entity by ID with get <id>.Creating an entity
nexudus <entity> create --help to see all available options and which are required.
Updating an entity
Deleting an entity
--yes to skip the prompt in scripts:
Entity commands
Some entities support additional operations called “commands” (e.g., archiving, activating):Working with list properties
Some entities have list properties (e.g., tariffs on a resource, teams on a coworker). To set these, repeat the flag for each value:| Flag pattern | Behaviour |
|---|---|
--{list} | Replaces the entire list with the supplied values. Use this by default. |
--added-{list} | Adds values to the existing list without removing current entries. |
--removed-{list} | Removes specific values from the existing list. |
Image uploads
Some entities have image properties (logo, banner, picture). To set an image, provide a publicly accessible URL:Discovering options
You can always check available options for any command by appending--help: