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.
Finding a command
Section titled “Finding a command”sedisto-cli --helpsedisto-cli tenants --helpsedisto-cli rental-agreements update --helpThe first lists the resources, the second the subcommands of one resource, the third the flags of one subcommand.
How commands map to the REST API
Section titled “How commands map to the REST API”- Each resource of the REST API is a command, in kebab case:
/rental_agreementsbecomesrental-agreements. - Reading is
listandget <id>, writingcreate,update <id>anddelete <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 ownexternal_id, as in the API. See IDs and external IDs. - The
/aggregateroutes areaggregatesubcommands. See Aggregation.
Installation, configuration and examples are in Using sedisto-cli. Each release names the API version its commands follow.