@ooneex/cli 1.40.1 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -81,7 +81,7 @@ Creates a new feature module with:
81
81
  ### Generating a Controller
82
82
 
83
83
  ```bash
84
- ooneex make:controller
84
+ ooneex controller:create
85
85
  ```
86
86
 
87
87
  Interactive prompts will ask for:
@@ -101,7 +101,7 @@ Interactive prompts will ask for:
101
101
  ### Generating a Service
102
102
 
103
103
  ```bash
104
- ooneex make:service
104
+ ooneex service:create
105
105
  ```
106
106
 
107
107
  Creates a service class with:
@@ -111,7 +111,7 @@ Creates a service class with:
111
111
  ### Generating an Entity
112
112
 
113
113
  ```bash
114
- ooneex make:entity
114
+ ooneex entity:create
115
115
  ```
116
116
 
117
117
  Creates a TypeORM entity with:
@@ -131,23 +131,24 @@ Installs Zsh completions for the `oo` and `ooneex` commands with context-aware o
131
131
  | Command | Description |
132
132
  |---------|-------------|
133
133
  | `completion:zsh` | Install Zsh completion for oo command |
134
- | `make:ai` | Generate a new AI class |
135
- | `make:analytics` | Generate a new analytics class |
136
- | `make:cache` | Generate a new cache class |
137
- | `make:cron` | Generate a new cron class |
138
- | `make:database` | Generate a new database class |
139
- | `make:docker` | Add a docker service to docker-compose.yml |
140
- | `make:logger` | Generate a new logger class |
141
- | `make:mailer` | Generate a new mailer class |
142
- | `make:middleware` | Generate a new middleware class |
134
+ | `ai:create` | Generate a new AI class |
135
+ | `analytics:create` | Generate a new analytics class |
136
+ | `cache:create` | Generate a new cache class |
137
+ | `cron:create` | Generate a new cron class |
138
+ | `database:create` | Generate a new database class |
139
+ | `docker:create` | Add a docker service to docker-compose.yml |
140
+ | `flag:create` | Generate a new feature flag class |
141
+ | `logger:create` | Generate a new logger class |
142
+ | `mailer:create` | Generate a new mailer class |
143
+ | `middleware:create` | Generate a new middleware class |
143
144
  | `migration:create` | Generate a new migration file |
144
- | `make:permission` | Generate a new permission class |
145
- | `make:pubsub` | Generate a new PubSub event class |
146
- | `make:repository` | Generate a new repository class |
145
+ | `permission:create` | Generate a new permission class |
146
+ | `pubsub:create` | Generate a new PubSub event class |
147
+ | `repository:create` | Generate a new repository class |
147
148
  | `seed:create` | Generate a new seed file |
148
- | `make:storage` | Generate a new storage class |
149
- | `make:vector-database` | Generate a new vector database class |
150
- | `claude:skill:create` | Generate Claude skills from templates |
149
+ | `storage:create` | Generate a new storage class |
150
+ | `vector-database:create` | Generate a new vector database class |
151
+ | `claude:init` | Initialize Claude configuration and skills |
151
152
 
152
153
  ## API Reference
153
154
 
@@ -247,7 +248,7 @@ class MyCustomCommand implements ICommand<MyCommandOptions> {
247
248
  ### Using with Arguments
248
249
 
249
250
  ```bash
250
- ooneex make:controller --name UserList --route-name api.users.list --route-path /api/users --route-method GET
251
+ ooneex controller:create --name UserList --route-name api.users.list --route-path /api/users --route-method GET
251
252
  ```
252
253
 
253
254
  Available CLI flags: `--name`, `--route-name`, `--route-path`, `--route-method`, `--is-socket`, `--dir`, `--channel`, `--table-name`.
@@ -257,7 +258,7 @@ Available CLI flags: `--name`, `--route-name`, `--route-path`, `--route-method`,
257
258
  ```typescript
258
259
  import { getCommand } from '@ooneex/cli';
259
260
 
260
- const command = getCommand('make:controller');
261
+ const command = getCommand('controller:create');
261
262
 
262
263
  if (command) {
263
264
  await command.run({