Output formats
By default the CLI prints a structured table. Add--output json to print JSON.
--output is a global flag. The list commands show it as [--output json]:
condense environment listcondense workspace listcondense app list
Use the CLI in a script
1
Sign in once, in a browser
Signing in opens a browser, so sign in on the computer before the script runs. The session stays on the computer. See Sign in.
2
Name what each command acts on
A script that relies on a selection made earlier acts on whatever is selected when it runs. Name the target with
--workspace and --service instead. See Targeting and configuration.3
Read JSON, not the table
Add
--output json to a list command and read that.4
Check before you deploy
Run
condense workspace deploy --can-i and condense workspace deploy --check first. See Deploy and move.5
Confirm deletes on purpose
condense pipeline delete asks you to confirm. Pass --yes only in a script that is meant to delete. See Manage.Related
Command reference
Every command in one place.
Troubleshooting
When a command does not do what you expect.