brew install workos/tap/workos-clibrew upgrade workos/tap/workos-cliFirst, initialize the CLI:
workos initFollow the interactive prompts to configure the CLI for use with the specified environment.
The CLI can be configured to work with multiple WorkOS environments.
workos env addTo switch between environments, use the env switch command and select the environment you would like to switch to:
workos env switchTo remove a configured environment from the CLI, use the env remove command and select the environment you would like to remove:
workos env removeOnce initialized, the CLI is ready to use:
workos [cmd] [args]