@task-mcp/cli 1.0.19 → 1.0.20
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 +42 -14
- package/package.json +1 -1
- package/src/index.ts +6 -6
package/README.md
CHANGED
|
@@ -46,10 +46,10 @@ task list --status pending
|
|
|
46
46
|
### Dashboard
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
task # Show dashboard for
|
|
49
|
+
task # Show dashboard for current workspace
|
|
50
50
|
task dashboard # Same as above
|
|
51
51
|
task d # Alias
|
|
52
|
-
task dashboard
|
|
52
|
+
task dashboard my-project # Show specific workspace
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
### Interactive Mode
|
|
@@ -77,12 +77,12 @@ task list --status pending,in_progress
|
|
|
77
77
|
task list --priority critical,high
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
###
|
|
80
|
+
### Workspaces
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
|
-
task
|
|
84
|
-
task
|
|
85
|
-
task
|
|
83
|
+
task workspaces # List all workspaces
|
|
84
|
+
task ws # Alias
|
|
85
|
+
task workspaces --all # Include all workspaces
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
### Inbox
|
|
@@ -147,10 +147,38 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
|
|
|
147
147
|
|
|
148
148
|
```
|
|
149
149
|
.tasks/
|
|
150
|
-
├──
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
└──
|
|
150
|
+
├── inbox.json # Quick capture items (global)
|
|
151
|
+
└── {workspace}/ # Auto-detected from git repo name
|
|
152
|
+
├── tasks.json # V2 format with tags
|
|
153
|
+
└── history.jsonl # Action history
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Configuration
|
|
157
|
+
|
|
158
|
+
### Environment Variables
|
|
159
|
+
|
|
160
|
+
| Variable | Description | Default |
|
|
161
|
+
|----------|-------------|---------|
|
|
162
|
+
| `TASKS_DIR` | Custom path for task storage | `~/.tasks` |
|
|
163
|
+
| `TASKS_LOCAL` | Set to "true" for project-local storage | - |
|
|
164
|
+
|
|
165
|
+
### Storage Priority
|
|
166
|
+
|
|
167
|
+
1. `TASKS_DIR` environment variable (if set)
|
|
168
|
+
2. `TASKS_LOCAL=true` → `./tasks` (project-local)
|
|
169
|
+
3. Default: `~/.tasks` (global)
|
|
170
|
+
|
|
171
|
+
### Examples
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
# Use global storage (default)
|
|
175
|
+
task
|
|
176
|
+
|
|
177
|
+
# Use project-local storage
|
|
178
|
+
TASKS_LOCAL=true task
|
|
179
|
+
|
|
180
|
+
# Use custom directory
|
|
181
|
+
TASKS_DIR=/path/to/tasks task
|
|
154
182
|
```
|
|
155
183
|
|
|
156
184
|
## Examples
|
|
@@ -159,7 +187,7 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
|
|
|
159
187
|
# View all high-priority blocked tasks
|
|
160
188
|
task list --status blocked --priority high
|
|
161
189
|
|
|
162
|
-
# Start interactive mode for
|
|
190
|
+
# Start interactive mode for workspace exploration
|
|
163
191
|
task -i
|
|
164
192
|
|
|
165
193
|
# Capture idea and check inbox
|
|
@@ -167,10 +195,10 @@ task inbox "Refactor auth module !critical #backend"
|
|
|
167
195
|
task inbox list
|
|
168
196
|
|
|
169
197
|
# Promote inbox item to task
|
|
170
|
-
task inbox promote inb_abc123
|
|
198
|
+
task inbox promote inb_abc123
|
|
171
199
|
|
|
172
|
-
# Show dashboard for specific
|
|
173
|
-
task d
|
|
200
|
+
# Show dashboard for specific workspace
|
|
201
|
+
task d my-project
|
|
174
202
|
```
|
|
175
203
|
|
|
176
204
|
## License
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -80,12 +80,12 @@ ${c.yellow("USAGE")}
|
|
|
80
80
|
${c.bold("task")} [command] [options]
|
|
81
81
|
|
|
82
82
|
${c.yellow("COMMANDS")}
|
|
83
|
-
${c.cyan("dashboard")} [
|
|
84
|
-
${c.cyan("d")} [
|
|
83
|
+
${c.cyan("dashboard")} [workspace] Show workspace dashboard (default)
|
|
84
|
+
${c.cyan("d")} [workspace] Alias for dashboard
|
|
85
85
|
${c.cyan("list")} List all tasks
|
|
86
86
|
${c.cyan("ls")} Alias for list
|
|
87
|
-
${c.cyan("
|
|
88
|
-
${c.cyan("
|
|
87
|
+
${c.cyan("workspaces")} List all workspaces
|
|
88
|
+
${c.cyan("ws")} Alias for workspaces
|
|
89
89
|
${c.cyan("inbox")} <subcommand> Manage inbox (add/list/get/promote/discard)
|
|
90
90
|
${c.cyan("interactive")} Start interactive mode
|
|
91
91
|
${c.cyan("i")} Alias for interactive
|
|
@@ -117,8 +117,8 @@ ${c.yellow("EXAMPLES")}
|
|
|
117
117
|
${c.dim("# List pending high-priority tasks")}
|
|
118
118
|
task list --status pending --priority high
|
|
119
119
|
|
|
120
|
-
${c.dim("# List all
|
|
121
|
-
task
|
|
120
|
+
${c.dim("# List all workspaces")}
|
|
121
|
+
task workspaces --all
|
|
122
122
|
`);
|
|
123
123
|
}
|
|
124
124
|
|