@@ -29,6 +29,7 @@ Bootstrap a new Asena project with a complete development environment setup.
2929### Features
3030
3131- ** Interactive Setup** - User-friendly setup experience with inquirer
32+ - ** Non-Interactive Mode** - Support for SSH and CI/CD environments with CLI arguments
3233- ** Multi-Adapter Support** - Choose between Hono or Ergenecore adapters
3334- ** Project Structure** - Creates complete project structure with necessary files
3435- ** Default Components** - Generates default controller and server setup
@@ -37,15 +38,49 @@ Bootstrap a new Asena project with a complete development environment setup.
3738
3839### Usage
3940
41+ ** Interactive Mode** (prompts for all options):
42+
4043``` bash
4144asena create
45+ # or create in current directory
46+ asena create .
47+ ```
48+
49+ ::: warning SSH Connection Issue
50+ Interactive prompts may not work properly over SSH connections or in non-TTY environments (CI/CD pipelines). Use non-interactive mode instead.
51+ :::
52+
53+ ** Non-Interactive Mode** (specify options via CLI arguments):
54+
55+ ``` bash
56+ # Create with all features enabled
57+ asena create my-project --adapter=hono --logger --eslint --prettier
58+
59+ # Create in current directory without optional features
60+ asena create . --adapter=ergenecore --no-logger --no-eslint --no-prettier
61+
62+ # Mix of CLI arguments and interactive prompts
63+ asena create my-app --adapter=hono # Will prompt for remaining options
4264```
4365
66+ ### CLI Options
67+
68+ | Option | Description | Values | Default |
69+ | :-------| :------------| :-------| :--------|
70+ | ` [project-name] ` | Project name (use ` . ` for current directory) | Any string | Prompted |
71+ | ` --adapter <adapter> ` | Adapter to use | ` hono ` , ` ergenecore ` | Prompted |
72+ | ` --logger ` / ` --no-logger ` | Setup Asena logger | boolean | ` true ` |
73+ | ` --eslint ` / ` --no-eslint ` | Setup ESLint | boolean | ` true ` |
74+ | ` --prettier ` / ` --no-prettier ` | Setup Prettier | boolean | ` true ` |
75+
4476### Interactive Prompts
4577
78+ When using interactive mode without CLI arguments:
79+
4680``` bash
4781✔ Enter your project name: my-asena-app
4882✔ Select adapter: Ergenecore
83+ ✔ Do you want to setup logger? Yes
4984✔ Do you want to setup ESLint? Yes
5085✔ Do you want to setup Prettier? Yes
5186⠙ Creating asena project...
0 commit comments