Skip to content

sedisto-cli

Command reference

sedisto-cli carries its own command reference. Its commands are generated from the OpenAPI document of the backend release it was built against, so the help of your binary always describes exactly what it can do.

Terminal window
sedisto-cli --help
sedisto-cli tenants --help
sedisto-cli rental-agreements update --help

The first lists the resources, the second the subcommands of one resource, the third the flags of one subcommand.

  • Each resource of the REST API is a command, in kebab case: /rental_agreements becomes rental-agreements.
  • Reading is list and get <id>, writing create, update <id> and delete <id>, where the API offers them.
  • Resources that belong to a site are under sites, with --site-id: sedisto-cli sites units list --site-id <id>.
  • An <id> can be sedisto’s UUID or your own external_id, as in the API. See IDs and external IDs.
  • The /aggregate routes are aggregate subcommands. See Aggregation.

Installation, configuration and examples are in Using sedisto-cli. Each release names the API version its commands follow.