Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.37 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.37 KB

@nuecms/cli

@nuecms/cli is a command-line tool designed to assist developers in swiftly creating and managing configurations, modules, and pages within nuecms projects. Through interactive prompts, you can easily generate the necessary files and directory structures.

Installation

Install @nuecms/cli using pnpm:

pnpm add @nuecms/cli

Usage

After installation, you can utilize the following commands:

  • nue conf: Create a new configuration file.
  • nue mod: Create a new module.
  • nue page: Create a new page.

Each command will guide you through interactive prompts to generate the desired files and directory structures.

Examples

Create a Configuration File

nue conf

Running this command will prompt you to enter the name and description of the configuration, and the tool will generate the corresponding configuration file.

Create a Module

nue mod

This command will prompt you to enter the name and description of the module, and the tool will generate the corresponding module file.

Create a Page

nue page

This command will prompt you to enter the name and description of the page, and the tool will generate the corresponding page file.

Contributing

Contributions are welcome! Please ensure you have read our contribution guidelines before submitting issues or pull requests.

License

MIT