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
- Ensure that the project is running within a Docker container in Visual Studio Code.
- Make sure your current working directory is the project root.
-
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