@nebulr-group/nblocks-cli
v1.2.2
Published
This library contains tools needed to setup, configure and keep your NBlocks experience up to date
Downloads
16
Readme
Nebulr NBlocks CLI
This library contains tools needed to setup, configure and keep your NBlocks experience up to date
No need to install it, just run:
npx @nebulr-group/nblocks-cli help
Running the CLI Locally in a VS Code Docker Container
Pre-requisites
- Ensure that the project is running within a Docker container in Visual Studio Code.
- Make sure your current working directory is the project root.
Steps
Delete the Existing
dist
FolderBefore testing the CLI, it's crucial to remove any pre-existing
dist
folder to ensure a clean build. You can do this by running the following command:rm -rf dist
Build the Project and Navigate to the
dist
FolderAfter deleting the
dist
folder, proceed with building the project and then navigate into the newly createddist
folder:npm run build && cd dist
Execute the CLI
Once you are in the
dist
folder, try running the CLI:node index.js help