Skip to content
/ cli Public

Commencis CLI - streamline the development workflow

License

Notifications You must be signed in to change notification settings

Commencis/cli

Repository files navigation

Commencis CLI Logo

Commencis CLI

License: Apache

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.

Usage:

Before you start, ensure you are in the directory where you want to create your project.

Interactive Mode

To create a new project interactively, run:

npx @commencis/cli create

Non-Interactive Mode

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

Options

  • --template <template-name>: Specify the template you want to use (e.g., react-vite, etc.).

Important Notes

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

For Contributors:

Prerequisites

Node.js

Before you begin, ensure you have node: >= 20.18 installed on your system.

pnpm

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

Installation

Run the following command to install project dependencies:

pnpm install

Development

You can run the following command to start development environment:

pnpm run dev

Contribution

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.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

© Commencis, 2024. All rights reserved.