Skip to content

abelmokadem/scriptz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scriptz

Configuration file based script runner

Getting started (Code)

$ npm install --save scriptz
const run = require('scriptz').run

run(configuration).subscribe(...) // Observable

Getting started (CLI)

$ npm install -g scriptz
$ scriptz run --config config.yaml

Create a config file in yaml.

options:
  retry_count: 3
  env:
    FOO: bar
start:
  name: Main
  flow: sequential
  steps:
    - name: Clean
      script: clean.sh
      arguments:
        - foo
      output_file: clean.log
      retry_count: 1
      env:
        FOO: Test
    - name: Install
      script: install.sh
      retry_count: 1
      output_file: install.log

See the full documentation

About

Configuration file based script runner

Resources

Stars

Watchers

Forks

Packages

No packages published