@reliverse/rempts 1.7.16 โ†’ 1.7.17

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.
Files changed (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,7 +25,8 @@
25
25
  - ๐Ÿช„ minimal API surface, maximum expressiveness
26
26
  - ๐Ÿงช scriptable for testing, stable for production
27
27
  - ๐Ÿž๏ธ no more hacking together `inquirer`/`citty`/`commander`/`chalk`
28
- - ๐Ÿ†• automatic command creation (`bun dler rempts init --cmd my-cmd`)
28
+ - ๐Ÿ†• automatic command creation (`bun dler rempts --init cmd1 cmd2`)
29
+ - ๐Ÿฆโ€๐Ÿ”ฅ automatic creation of `src/app/cmds.ts` file (`bun dler rempts`)
29
30
 
30
31
  ## Installation
31
32
 
@@ -37,8 +38,8 @@ bun add @reliverse/rempts
37
38
 
38
39
  ```bash
39
40
  bun add -D @reliverse/dler
40
- bun dler rempts init --cmd my-cmd-1
41
- bun dler rempts init --cmds
41
+ bun dler rempts --init cmd1 cmd2 # creates `src/app/cmd1/cmd.ts` and `src/app/cmd2/cmd.ts` files
42
+ bun dler rempts # creates `src/app/cmds.ts` file
42
43
  ```
43
44
 
44
45
  ## Usage Examples
@@ -229,7 +230,7 @@ export default defineCommand({
229
230
  **Hint**:
230
231
 
231
232
  - Install `bun add -D @reliverse/dler`
232
- - Use `bun dler rempts init --cmd cmd1 cmd2` to init commands for rempts launcher's automatically
233
+ - Use `bun dler rempts --init cmd1 cmd2` to init commands for rempts launcher's automatically
233
234
 
234
235
  ### Advanced Launcher Usage
235
236
 
@@ -307,7 +308,7 @@ await runMain(defineCommand({}));
307
308
 
308
309
  ```bash
309
310
  bun add -D @reliverse/dler
310
- bun dler rempts init --cmd my-cmd-1 # or: dler rempts init my-cmd-1 my-cmd-2 --main src/mod.ts
311
+ bun dler rempts --init my-cmd-1 # or: dler rempts --init my-cmd-1 my-cmd-2 --main src/mod.ts
311
312
  # * `--main` is optional, default is `./src/mod.ts`
312
313
  # * you can specify multiple commands at once
313
314
  ```
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "license": "MIT",
30
30
  "name": "@reliverse/rempts",
31
31
  "type": "module",
32
- "version": "1.7.16",
32
+ "version": "1.7.17",
33
33
  "author": "reliverse",
34
34
  "bugs": {
35
35
  "email": "blefnk@gmail.com",