@aetherframework/cli
v1.0.4
Published
Aether framework CLI Tool
Readme
Aether Scaffold CLI
A lightweight, factory-pattern based CLI tool for scaffolding Node.js projects. It supports basic and api templates by directly copying pre-configured directory structures.
Features
- Factory Pattern Architecture: Modular design separating CLI logic from file operations.
- Static Template Copying: Fast and reliable project creation by copying pre-built templates.
- Interactive Prompts: User-friendly interface for selecting project names and template types.
- Automatic Metadata Update: Automatically updates
package.jsonwith the correct project name.
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
Installation
Clone the repository:
git clone <repository-url> cd aether-scaffoldInstall dependencies:
npm installLink the CLI globally (optional):
npm link
Usage
Create a New Project
Run the following command to start the interactive setup:
aether create my-projectOr specify the project name directly:
aether create my-projectYou will be prompted to select a template:
- Basic: A minimal Hello World setup.
- API: A production-ready structure with common API configurations.
Manual Execution
If you haven't linked the package globally, you can run it via npx or node:
node bin/cli.js create my-projectLicense
MIT
