Skip to main content

termorq-cli workflow

Goal

Run a workflow without opening its page. Time: 5 minutes.

Pro feature

termorq-cli workflow is Pro. A Free binary leaves it out of --help and refuses the command.

termorq-cli workflow list
termorq-cli workflow list --workspace ~/src/acme-apis
termorq-cli workflow run refresh-acme-users
termorq-cli workflow runs refresh-acme-users
CommandPrints
workflow listEach workflow’s name, ID, and source (included, yours, or workspace)
workflow run <id>Starts the run and waits in this process
workflow runs <id>The run directories under workflows/runs/<id>/
  • --workspace takes an absolute path or one starting with ~.
  • A file with a problem prints the same sentence as Save, and the run doesn’t start.
  • Schedules and the HTTP listener belong to the desktop app. The CLI starts only the run you name.
Check your run

termorq-cli workflow run hello-workflow finishes, and workflow runs hello-workflow lists the new directory.

Exercise

Write a one-line shell command that runs hello-workflow and then prints its newest run directory.

Details
termorq-cli workflow run hello-workflow && termorq-cli workflow runs hello-workflow | tail -1

Reference: termorq-cli workflow