diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index.ts b/src/index.ts index 86d55ed..3702746 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -7,14 +7,14 @@ export const queueDb = new PostDatabase("queue.json", 50); | |||
7 | 7 | ||
8 | const args = cliArgs.parse<{ | 8 | const args = cliArgs.parse<{ |
9 | id?: number; | 9 | id?: number; |
10 | enqueue?: number; | 10 | enqueue?: number[]; |
11 | dequeue?: number; | 11 | dequeue?: number[]; |
12 | help?: boolean; | 12 | help?: boolean; |
13 | }>( | 13 | }>( |
14 | { | 14 | { |
15 | id: { type: Number, optional: true }, | 15 | id: { type: Number, optional: true }, |
16 | enqueue: { type: Number, optional: true }, | 16 | enqueue: { type: Number, optional: true, multiple: true }, |
17 | dequeue: { type: Number, optional: true }, | 17 | dequeue: { type: Number, optional: true, multiple: true }, |
18 | help: { type: Boolean, optional: true, alias: "h" }, | 18 | help: { type: Boolean, optional: true, alias: "h" }, |
19 | }, | 19 | }, |
20 | { | 20 | { |