fmartingr
/
jeeves
Archived
1
0
Fork 0
This repository has been archived on 2021-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
jeeves/README.md

1.2 KiB

Jeeves

Jeeves will take care of your boring tasks so you don't have to worry.

Python 3.7+

Documentation

Documentation is accesible and readable in the docs folder.

Running it

Using the cli

Jeeves provide a useful CLI to execute your flows in a very convenient way, for example. given a test flow:

// definition.json
{
    "name": "Test flow",
    "tasks": [
        {
            "name": "Say hello",
            "type": "jeeves.core.tasks.shell:ShellTask",
            "parameters": {
                "script": "#!/bin/bash\necho HELLO WORLD!"
            }
        }
    ]
}

You can run it using jeeves execute definition.json:

$ jeeves execute --output  definition.json
(i) Running flow from definition.json
=== Running flow: Test flow
ok! Running step [1/1]: Say hello
=== Full output:
HELLO WORLD

You can also run the same command from stdin using:

  • cat definition.json | jeeves execute --output -
  • jeeves execute --output - < definition.json

Contributing

TODO