Skip to main content

CLI Commands

The Nexudus CLI follows a consistent nexudus <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.
Public API Commands: The nexudus public branch lets you interact with your coworking space as a member. See Public API Commands for the full reference.

Global flags

These flags can be added to any command:

Common operations

Listing entities

  • --name filters results by name or keyword. Different entities support different parameter names.
  • --business scopes results to a specific business (location).
  • --page and --size control pagination. Default page size is 25; use --size 100 for larger pages.
  • --order-by specifies the property to sort results by (e.g., Name, CreatedOn, FromTime).
  • --dir sets the sort direction: 0 for ascending, 1 for descending.
Each entity type has a default sort order (e.g., Bookings sort by FromTime ascending). If you omit --order-by, the API applies this default. You can override it with any property that the entity exposes.

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

Required fields depend on the entity type. Run nexudus <entity> create --help to see all available options and which are required.

Updating an entity

Only the fields you specify are changed. All other fields remain untouched.

Deleting an entity

The CLI prompts for confirmation before deleting. Use --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:
Three variants are available:
Do not use comma-separated values or bracket syntax for lists. Each value needs its own flag occurrence.

Image uploads

Some entities have image properties (logo, banner, picture). To set an image, provide a publicly accessible URL:
The Nexudus back-end downloads the image from the URL, so it must be reachable from the internet — local file paths will not work.

Discovering options

You can always check available options for any command by appending --help: