An open API service indexing awesome lists of open source software.

https://github.com/cosanca/create-nucleum-project

A CLI to create a Nucleum project.
https://github.com/cosanca/create-nucleum-project

Last synced: about 1 month ago
JSON representation

A CLI to create a Nucleum project.

Awesome Lists containing this project

README

          

# Create Nucleum Project

The easiest way to get started with Nucleum is by using `create-nucleum-project`.

This simple CLI tool enables you to quickly start building a new Nucleum based project, with everything automatically set up for you. You can create a new project using the default Nucleum template, or by using any of the built in templates provided as interactive options.

To get started, use the following command:

```bash
yarn create nucleum-project
# or
npx create-nucleum-project
```

To create a new project in a specific folder, you can send a name as an argument. For example, the following command will create a new Nucleum project called `my-awesome-website` in a folder with the same name:

```bash
yarn create nucleum-project my-awesome-website
# or
npx create-nucleum-project my-awesome-website
```

## Options

`create-nucleum-project` comes with the following templates:

- `default` (scaffolds a new project ready to generate a static website using [Eleventy]).
- `styleguide` (scaffolds a new project ready for building a styleguide or design system using [UIengine]).
- `wordpress` (scaffolds a new project ready for building a [WordPress] based website).

`create-nucleum-project` comes with the following options:

- `--template | -t` Sets the template to be used when generating the project. Make sure you pass one of the above listed templates.
- `--yes | -y` Skips all the prompts and scaffolds a new Nucleum project using the Default template.
- `--git | -g` Initialises git in your project. Pair it with the `-y` flag to get a "ready for work" new project.
- `--help | -h` Displays a short documentation of the available options.

## Why use Create Nucleum Project?

`create-nucleum-project` allows you to create a new Nucleum project within seconds and includes a number of benefits:

- **Interactive Experience**: Running `yarn create nucleum-project` (with no arguments) launches an interactive experience that guides you through setting up a project.
- **Zero Dependencies**: Initializing a project is as quick as one second. Create Nucleum Project has zero dependencies.
- **Support for multiple project types**: Create Nucleum Project can bootstrap your project using one of the three provided templates (Default, Styleguide, WordPress).

[eleventy]: https://11ty.dev
[uiengine]: https://uiengine.uix.space
[wordpress]: https://wordpress.org