The Stencil CLI is a command-line interface tool that helps you to initialize, develop, and maintain your Nest applications. It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution. It embodies best-practice architectural patterns to encourage well-structured apps.
The CLI works with schematics, and provides built in support from the schematics collection at @samagra-x/schematics.
Read more here.
$ npm install -g @samagra-x/stencil-cli
Follow these steps to set up the project locally:
Clone the project repository using the following command:
git clone https://github.com/SamagraX-Stencil/stencil-cli.git
Install the stencil-cli package by navigating to the cloned project directory and running:
npm install
Make any required changes to the project.
Build the project by running:
npm run build
Run the following command in the stencil-cli cloned project directory:
npm link
Navigate to a new folder where you want to use the package locally.
Run the following command to link the local version of stencil-cli:
npm link @samagra-x/stencil-cli
Video Demo:
https://github.com/SamagraX-Stencil/stencil-cli/assets/91362589/ee3f115a-94da-4ef6-a088-5d11df461af0
Learn more in the official documentation.
Stencil is powered by the following open source projects
Stencil is MIT licensed.