codenotch-cli
v1.0.31
Published
A CLI tool for code management
Readme
Getting started
To use the commands codenotch-cli or cn
npm run build
npm link
When there is a change, you need to relaunch npm run build
Runtime
The CLI will automatically download the latest version runtime the first time it's needed or anytime cn runtime install or cn runtime update is used.
Since the package is private at the moment, you'll need to login via an interactive browser prompt.
By default the CLI installs the runtime in a .codenotch folder in the user home directory ($HOME / USERPROFILE).
This behaviour can be changed by setting CODENOTCH_PATH in the .env file.
Manual install
You can also get the runtime manually here: https://github.com/EchinoHub/service-core/releases/
Then you can either find/create a .codenotch in your home directory or set the CODENOTCH_PATH to where you put the runtime.
Runtime requirements
You need to have NodeJs installed and available on the PATH for the runtime to work properly.
.npmrc
We need a npm token to get the private package codenotch-react from npm. At the moment we use a npm file that we copy on build to the project. This token is not valid to get others private packages, meaning it will also prevent you from installing other codenotch packages We need to fin a real solution to this or simply make the codenotch-react package public
