turbogen-cli
v1.0.0
Published
A CLI to generate a Turborepo monorepo with your own applications and packages.
Readme
turbogen-cli
A CLI to generate a Turborepo monorepo with your own applications and packages.
Usage
You can run the CLI using the following command:
npx turbogen-cli [options]If you don't provide any options, an interactive form will be displayed to guide you through the process.
Options
| Option | Alias | Description | Type | Default |
| --- | --- | --- | --- | --- |
| --name | -n | The name of the project. | string | - |
| --apps | -a | A list of GIT URLs for the applications to clone. | string[] | [] |
| --packages | -p | A list of GIT URLs for the packages to clone. | string[] | [] |
| --manager| -m | The package manager to use. | npm | yarn | pnpm | bun | npm |
Examples
Basic usage with interactive form
This command will launch an interactive form to ask for the project name, the package manager, and the list of applications and packages to clone.
npx turbogen-cliUsage with all parameters
This command will create a new Turborepo project named my-awesome-project using pnpm as package manager. It will clone one application and one package from the provided GIT URLs.
npx turbogen-cli --name my-awesome-project -m pnpm -a https://github.com/my-org/my-app.git -p https://github.com/my-org/my-package.git