Flow

Organize your hard to remember commands into 1 line interactive executable

What is flow?

Flow is features of AiTerm that allow you to organize your workflow commands in an elegant and easy way. You can add, edit and remove your workflow commands according to your needs

How to use it?

  • Use --flow

Create a new flow

To create a new flow you can follow these steps:

  1. Enter flow by using --flow or type flow on interactive mode

  2. Select New Flows

  3. Input the flow name, you can get hint by type ?, you can use {arg_name} for flow that need args. e.g. Push {branch} to production

  4. After you input the flow name then enter it, it will open up the text editor, then you can write down your workflow commands on it

Edit flow

To edit existing flow you can follow these steps:

  1. Enter flow by using --flow or type flow on interactive mode

  2. Select Edit Flows

  3. Select the flow that you wanted to edit

Remove flow

To remove existing flow you can follow these steps:

  1. Enter flow by using --flow or type flow on interactive mode

  2. Select Remove Flows

  3. Select the flows that you wanted to remove. Can't be undone

Last updated