neat-admin-cli
v1.0.1
Published
CLI tool to initialize ant-admin project from template
Readme
neat-admin-cli
A CLI tool to scaffold a Neat Design admin project
Installation
npm install -g neat-admin-cliOr use it directly via npx:
npx neat-admin-cli init --dir my-admin-projectUsage
neat-admin-cli init --dir <directory>Options
| Option | Description |
|--------|-------------|
| --dir <directory> | Target directory name or path for the new project (required) |
| -V, --version | Output the version number |
| -h, --help | Display help information |
Example
# Create a project in the current directory
neat-admin-cli init --dir my-admin-project
# Create a project at an absolute path
neat-admin-cli init --dir /path/to/my-admin-projectAfter initialization, the tool will:
- Clone the template with
git clone --depth 1 - Re-initialize a clean git repository
- Install dependencies with
npm install
Then start the development server:
cd my-admin-project
npm startLicense
MIT
