Skip to content

outerpasta/docopter

Repository files navigation

Synopsis

A script runner that parses scripts that use docopt and creates web forms for executing them. Script output is shown in realtime using websockets.

Currently only python and bash are supported.

DEMO

Installation

Requires python 2.7 - https://www.python.org/downloads/release/python-2710/

Install python dependencies:

$ cd docopter
$ pip install -r requirements.txt

Or use Python Virtualenv

$ virtualenv tmp
$ ./tmp/bin/pip install -r requirements.txt

Put your scripts in docopter/scripts Don't forget, you'll have to -

$ chmod +x scripts/*

for them to work.

Running

python docopter.py

Caveats

  • Options within bash scripts are not working yet.
  • There is currently no support for docopt 'command' argument type.
  • There is currently no suport for more than just simple args/options/default-options. Things like mutually exclusive arguments or multiple use cases aren't working yet.

About

A script runner that parses docopt scripts and creates web forms for them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published