The Orka CLI provides access to your Orka environment from the command line.
The Orka CLI lets you choose between an interactive input mode or a direct input mode.
In interactive mode, you can run the command without specifying any additional parameters, such as names, IDs, etc. Once you hit
Enter, the Orka CLI prompts you to provide the information required to run the command. You can use arrow-up and arrow-down from the keyboard to navigate the Orka CLI prompts in interactive mode.
In direct mode, you can provide all the information required by the command through the use of the designated flags and parameters. The Orka CLI prompts you to confirm the provided information.
TIP: Non-interactive console?
To bypass the command prompts for information, use direct mode and use the respective command flags.
To bypass the confirmation, pass the
--jsonflag also bypasses the interactive console but returns JSON output
You can run multiple commands by using the standard
bash chaining command-line operators:
To list all available commands, type:
For more information about each group of commands, see the sub-pages in this section.
To get help in the Orka CLI, type:
orka help OR orka <COMMAND> --help
By default, the Orka CLI returns the output of all
list commands in a
TABLE format. You can choose to switch to
You can switch to
JSON globally or for a particular command:
- To switch to
orka configand, when prompted, set
- To get
JSONoutput for particular commands, pass the
Updated 2 months ago