@delega-dev/cli 1.0.1 → 1.0.2
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 +1 -1
- package/dist/commands/tasks.js +1 -1
- package/package.json +1 -1
- package/src/commands/tasks.ts +1 -1
package/README.md
CHANGED
package/dist/commands/tasks.js
CHANGED
|
@@ -50,7 +50,7 @@ const tasksList = new Command("list")
|
|
|
50
50
|
const tasksCreate = new Command("create")
|
|
51
51
|
.description("Create a new task")
|
|
52
52
|
.argument("<content>", "Task content")
|
|
53
|
-
.option("--priority <n>", "Priority 1-4 (default: 1)", parseInt, 1)
|
|
53
|
+
.option("--priority <n>", "Priority 1-4 (default: 1)", (v) => parseInt(v, 10), 1)
|
|
54
54
|
.option("--labels <labels>", "Comma-separated labels")
|
|
55
55
|
.option("--due <date>", "Due date (YYYY-MM-DD)")
|
|
56
56
|
.option("--json", "Output raw JSON")
|
package/package.json
CHANGED
package/src/commands/tasks.ts
CHANGED
|
@@ -83,7 +83,7 @@ const tasksList = new Command("list")
|
|
|
83
83
|
const tasksCreate = new Command("create")
|
|
84
84
|
.description("Create a new task")
|
|
85
85
|
.argument("<content>", "Task content")
|
|
86
|
-
.option("--priority <n>", "Priority 1-4 (default: 1)", parseInt, 1)
|
|
86
|
+
.option("--priority <n>", "Priority 1-4 (default: 1)", (v: string) => parseInt(v, 10), 1)
|
|
87
87
|
.option("--labels <labels>", "Comma-separated labels")
|
|
88
88
|
.option("--due <date>", "Due date (YYYY-MM-DD)")
|
|
89
89
|
.option("--json", "Output raw JSON")
|