npm i scriptrepo -g
📜
scriptrepo
allows you to upload scripts to a git repo. This allows you to use the same scripts across computers or even share them with a team.
Currently, scriptrepo
supports .sh
, .js
, .ts
and .py
scripts.
Optionally, you can add a repo config file named scriptrepo.json
or .scriptrepo.json
to configure your repo.
Optionally, you can add script configs named <script-name>.scriptrepo.json
or .<script-name>.scriptrepo.json
to configure your scripts.
Check out these example script repos:
Usage: scriptrepo [options]
Add, update and run scripts from git repos
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
add [options] Add script
remove [options] Remove script
update [options] Update scripts
execute [options] Execute scripts
list [options] List scripts
help [command] display help for command