1.2.2 • Published 2 years ago
@nebulr-group/nblocks-cli v1.2.2
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 helpRunning 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
distFolderBefore testing the CLI, it's crucial to remove any pre-existing
distfolder to ensure a clean build. You can do this by running the following command:rm -rf distBuild the Project and Navigate to the
distFolderAfter deleting the
distfolder, proceed with building the project and then navigate into the newly createddistfolder:npm run build && cd distExecute the CLI
Once you are in the
distfolder, try running the CLI:node index.js help