@bpmn-io/sr

A setup and run utility for bpmn.io based projects

Usage no npm install needed!

<script type="module">
  import bpmnIoSr from 'https://cdn.skypack.dev/@bpmn-io/sr';
</script>

README

sr

CI Status

A simple setup and run utility for bpmn.io based projects.

Usage

Install the tool globally to expose the sr utility:

npm install -g @bpmn-io/sr

Or execute it directly via npx:

npx @bpmn-io/sr bpmn-io/bpmn-js#some-branch -l bpmn-io/diagram-js#some-branch

Synopsis

Usage: sr [options] repository

Locally setup a GitHub repository run a command in it, once completed.

Options:
    -l, --link=repo     link the given repository with
                        target repository
    -c, --cmd=test      execute <test> in the target repository
                        per default <npm start> is executed
        --cwd=dir       use <dir> as a working directory

    -h, --help          show this help
    -v, --verbose       enable verbose output

Examples:
    $ sr -l org/repo1 -l org/repo2#branch org/targetRepo

    $ sr -c 'npm run test' bpmn-io/diagram-js

License

MIT