0.9.0 • Published 10 months ago
bouer-cli v0.9.0
Bouer CLI
Command Line Interface (CLI) for Bouer.js - A JavaScript Library for building user interfaces.
Table of Contents
Installation
Install the CLI globally using npm:
npm install -g bouer-cliFeatures
- Create new Bouer.js projects
- Automatic dependency installation
- Git repository initialization
- Project scaffolding from templates
Available Commands
Basic Commands
bouer -v, --version- Display CLI versionbouer -h, --help- Display help informationbouer install- Installs dependencies for the current Bouer.js projectbouer create new <project-name> [-t, --template <type>]- Create a new Bouer.js project with optional template type (blank or routing)bouer create component <component-name> [-p, --path <path>]- Create a new component in the current projectbouer create config [--preview]- Generates webpack.config.js based con cli webpack config file, or preview the cli configurationbouer run- Runs the development live server for the current Bouer.js projectbouer build [-m, --mode <mode>]- Builds the Bouer.js project for development or production (dev or prod)
Create New Project
Create a new Bouer.js project with a starter template:
bouer create new <project-name> [-t, --template <type>]Options:
--template <name>- Specify template to use (default: "blank")
Example:
bouer create new my-awesome-appRun Development Server
Start the development server with hot-reload:
bouer runInstall Dependencies
Install or update project dependencies:
bouer installBuild Project
Build your project for production:
bouer build [options]Options:
--mode <mode>- Build mode (dev/prod)
Development
To contribute to the CLI:
- Clone the repository:
git clone https://github.com/bouerjs/cli.git
cd cli- Install dependencies:
npm install- Link the package locally:
npm linkLicense
This project is licensed under the MIT License - see the LICENSE file for details.