Command Line Interface (CLI)
Flows
Listing flows
The getOperate flow
list command is used to list all flows in the remote workspace.
Pushing a flow
Pushing a flow to a getOperate instance is done using the getOperate flow push
command.
Arguments
Argument | Description |
---|---|
file_path | The path to the flow file to push. |
remote_path | The remote path where the flow specification should be pushed. |
Examples
- Push the flow located at
path/to/local/flow.yaml
to the remote pathf/flows/test
.
Creating a new flow
The getOperate flow bootstrap command is used to create a new flow locally.
Arguments
Argument | Description |
---|---|
path | The path of the flow to be created. |
Examples
Create a new flow f/flows/flashy_flow
Running a flow
Running a flow by its path s done using the getOperate flow run
command.
Arguments
Argument | Description |
---|---|
remote_path | The path of the flow to be run. |
Options
Option | Parameters | Description |
---|---|---|
-d, --data | data | Inputs specified as a JSON string or a file using @filename or stdin using @- . Resources and variables must be passed using “var:…” For example getOperate flow run u/henri/message_to_slack -d '{"slack":"$res:u/henri/henri_slack_perso","channel":"general","text":"hello dear team"}' |
-s, --silent | None | Do not ouput anything other then the final output. Useful for scripting. |