| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Scripts which have utility across many repositories.
This can be used either as a command npx github:commitd/scripts command arguments --options or you can use it interactively (REPL) by omitting the SCRIPT name npx github:commitd/scripts.
Note that the python and shell commands have limitations in REPL mode. You must quote your options:
Exact use depends on the script implementation language.
If the script is Node based (in the src directory) then it can be run through npx.
# Assume you have NodeJS
# Via npx
npx github:commitd/scripts command args
# Or if you are developing a node project:
npm install -D commitd/scripts
npm exec scripts
# Or with yarn:
yarn add -D commitd/scripts
yarn scriptsIf the script is Python then you will need to clone it and install requirements:
# Use the npx shortcut
# Note the argument are in quotes!
npx github:commitd/scripts python SCRIPT
# Or clone and use directly
# Assume you have python3, pip3 and git!
git clone https://github.com/commitd/scripts.git
cd python/SCRIPT
pip3 install -r requirements.txt
./SCRIPT.pyIf the script is Python then you will need to clone it and install requirements:
# Use via npx shortcut
# Note argument and options are in quotes
npx github:commitd/scripts shell SCRIPT your_arguments --your-options
# Or clone and run directly:
git clone https://github.com/commitd/scripts.git
cd bash/SCRIPT
./SCRIPTI
Each script should:
When you add a snippet, update the list in this README to point to it.
Scripts should run on any typical version of bash (generally on macos and linux), Python3 or Node16 / LTS with Typescript.
We wish to minimize the number of dependencies (all of which need to be pulled in via npx):
Note that under src are python-command and shell-command which run the Python and Shell scripts as above.
| Back | FazBrowse Home | New Git URL |