workflow_cmd is a tool to execute your workflow scripts. The workflow is meant to be a glue to combine many services and APIs. But unlike any other workflows that being executed on the cloud servers or services, workflow_cmd can be executed on your own computers or servers.
workflow_cmd is utilizing Workflow DSL and running as a binary command line, with features :
- single binary executable
- domain specific language based on Google Cloud Workflows
- template rendering
- docker support
- web service
-
Windows 10 (manually download the workflow_cmd binary) :
- create directory for your working space, ex: C:\workflow
- download https://github.com/rizki96/workflow_cmd/releases/latest/download/workflow_cmd.zip and copy the file to C:\workflow
- unzip workflow_cmd.zip on C:\workflow
- open command prompt window, try to execute the workflow_cmd file in command prompt
> cd C:\workflow > workflow_cmd
-
Windows 10 (chocolatey) :
- install chocolatey (https://chocolatey.org/)
- open command prompt window as administrator, execute the following command
> choco install workflow_cmd > workflow_cmd
-
MacOSX (M1 Rosetta) :
- install brew (https://brew.sh/)
- open comamnd shell, and execute below command :
> brew update > brew install rizki96/wffw/workflow_cmd > workflow_cmd
- Linux (generic)
- install erlang and elixir (https://elixir-lang.org/install.html)
- open command shell, create your working directory on your home directory
> mkdir workflow > cd workflow > git clone https://github.com/rizki96/workflow_cmd.git > cd workflow_cmd > mix deps.get > MIX_ENV=prod mix release.nix > tar -xzvf workflow_cmd.tar.gz > ./workflow_cmd
Based on Google Cloud Workflows
.
Examples :
Using Liquid template. Example :
- https://raw.githubusercontent.com/rizki96/workflow_cmd/master/examples/workflow1.json
- Sending Email Blast https://raw.githubusercontent.com/rizki96/workflow_cmd/master/examples/workflow3.json
Requirement: Install Docker Desktop in your Laptop / PC. Example :