Use the Operately CLI
Most Operately CLI commands follow this shape:
operately <namespace> <command> [flags]Examples:
operately people get_meoperately spaces listoperately projects list --include-spaceAuthentication commands are separate utility commands:
operately auth login --token <token>operately auth whoamiUse help to discover commands#
Section titled “Use help to discover commands#”Start with general help:
operately helpList commands in a namespace:
operately help projectsShow command-specific help:
operately help projects listYou can also request help inline:
operately projects list --helpUse command-specific help whenever you need to see the available flags for a specific endpoint.
Common examples#
Section titled “Common examples#”Get information about the authenticated user:
operately people get_meList spaces:
operately spaces listList projects and include space details:
operately projects list --include-spaceWrite command output to a file:
operately projects list --include-space --output ./projects.jsonPrint compact JSON:
operately spaces list --compactKeep the reference in the API docs#
Section titled “Keep the reference in the API docs#”The CLI is a thin interface over the Operately external API. Use these docs for onboarding and discovery, then use the API docs when you need the full endpoint reference.