Thanks to visit codestin.com
Credit goes to www.npmjs.com

github-run-script
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

github-run-script

Run a script on multiple repositories, cloning them if needed.

  Description
    Run a script on multiple repositories, cloning them if needed.

  Usage
    $ github-run-script <script> [options]

  Options
    -o, --owner          The owner for repositories without an explicit owner.
    -s, --search-path    A path to search for already-cloned repositories.
    -t, --terminate      Terminate any spawned processes on error.
    -s, --signal         The signal to terminate a process with.
    -v, --version        Displays current version
    -h, --help           Displays this message

Environment variables

The script gets run with additional environment variables.

Environment Variable Name Description
REPO_OWNER The owner of the repository
REPO_NAME The name of the repository
REPO The value of "REPO_OWNER/REPO_NAME"
REPO_PATH The path to the repository on the filesystem. The same path as the working directory of the script.

Readme

Keywords

none

Package Sidebar

Install

npm i github-run-script

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

18.5 kB

Total Files

20

Last publish

Collaborators

  • pythoncoderas