@seliseblocks/cli
v0.0.16
Published
`@seliseblocks/cli` is a powerful command-line tool for quickly setting up projects and generating resources. With just a few commands, you can create, build, and manage your project efficiently.
Downloads
490
Maintainers
Keywords
Readme
@seliseblocks/cli
@seliseblocks/cli
is a powerful command-line tool for quickly setting up projects and generating resources. With just a few commands, you can create, build, and manage your project efficiently.
Installation
To use @seliseblocks/cli
, install it globally via npm:
npm install -g @seliseblocks/cli
After installation, use the blocks or command in your terminal.
Usage
Once installed, you can use seliseblocks commands from the command line.
1. Create a New Project
The new command initializes a project with a starter template.
Syntax
blocks new <project name>
Example
To create a new project named my-app
blocks new my-app
Run the application
cd my-app
Then run the project using your application domain (recommended), add an entry for your app domain to your hosts file. Then, use:
npm run start:local
otherwise
npm start
2. Display Version
Displays the current version of the CLI tool.
blocks version
Available Commands
| Command | Alias | Description |
|------------------|-------|-----------------------------------------------------------------|
| new
| n
| Initializes a new project using the provided starter template. |
| version
| v
| Displays the current version of the CLI tool. |