README
Util
CLI for useful scripts used during a day in the life.
Installation
npm install --save @codealpha/util
bin files added to your project under ./node_modules/.bin/
- ca-cli
- cli program used to call functions provided in ca-fnc
- ca-fnc
- functions that can be sourced as needed.
Usage
package.json
"scripts": {
"start": "node index.js",
"ca-cli": "ca-cli",
"ca-cli":"node_modules/.bin/ca-cli",
"ca-cli":"node_modules/@codealpha/util/bin/ca-cli",
}
npm run ca-cli util_ts
bash
. ./node_modules/.bin/ca-fnc; util_ts