Skip to content

workflow_cmd is Utilizing Workflow DSL (https://github.com/rizki96/workflow_dsl) to execute workflow scripts and running as a binary command line

License

Notifications You must be signed in to change notification settings

rizki96/workflow_cmd

Repository files navigation

WorkflowCmd

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

Download Binary Executable

  • Windows 10 (manually download the workflow_cmd binary) :

  • 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

Build From Source

  • 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

Domain Specific Language

Based on Google Cloud Workflows. Examples :

Template Rendering

Using Liquid template. Example :

Docker Support

Requirement: Install Docker Desktop in your Laptop / PC. Example :