Warning
The Commencis CLI is actively under development. Further enhancements are on the way, and feedback and contributions are welcome!
The Commencis CLI serves as a comprehensive command-line interface for effortlessly creating and managing projects.
This tool generates carefully crafted starter templates designed by Commencis to meet the needs of modern applications. With a focus on best practices and clean code, the Commencis CLI empowers developers to kickstart projects with confidence.
Before you start, ensure you are in the directory where you want to create your project.
To create a new project interactively, run:
npx @commencis/cli create
To create a new project without prompts, use the following command:
npx @commencis/cli create [project-name] [options]
For example, to create a project named “my-app” using the React Vite template, you would run:
npx @commencis/cli create my-app --template react-vite
--template <template-name>
: Specify the template you want to use (e.g., react-vite, etc.).
Warning
Don’t forget to initialize git in your project:
git init
Tip
After creating your project, run the following command to install dependencies:
pnpm install
Before you begin, ensure you have node: >= 20.18
installed on your system.
This project uses [email protected]
as the package manager. You can install it either by activating with corepack
which is the recommended way:
corepack prepare pnpm@latest --activate
corepack enable pnpm
or install globally on your system with npm.
npm install -g pnpm
Run the following command to install project dependencies:
pnpm install
You can run the following command to start development environment:
pnpm run dev
We welcome contributions to improve this project. Feel free to open issues or pull requests to suggest enhancements or report any issues.
Important
For developers contributing to this project, it's important to familiarize yourself with these tools, as they are integral to the workflow and code quality standards.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
© Commencis, 2024. All rights reserved.