@task-mcp/cli 1.0.19 → 1.0.21
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 +45 -15
- package/package.json +1 -1
- package/src/index.ts +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @task-mcp/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Terminal dashboard for [@task-mcp/mcp-server](https://www.npmjs.com/package/@task-mcp/mcp-server).
|
|
4
|
+
|
|
5
|
+
> **Note:** This CLI is a companion tool for task-mcp MCP server. It provides terminal visualization for tasks managed through Claude Code or other MCP clients. For full task management capabilities (create, update, dependencies, etc.), use the MCP server with Claude Code.
|
|
4
6
|
|
|
5
7
|
```
|
|
6
8
|
████████ █████ ███████ ██ ██ ███ ███ ██████ ██████
|
|
@@ -46,10 +48,10 @@ task list --status pending
|
|
|
46
48
|
### Dashboard
|
|
47
49
|
|
|
48
50
|
```bash
|
|
49
|
-
task # Show dashboard for
|
|
51
|
+
task # Show dashboard for current workspace
|
|
50
52
|
task dashboard # Same as above
|
|
51
53
|
task d # Alias
|
|
52
|
-
task dashboard
|
|
54
|
+
task dashboard my-project # Show specific workspace
|
|
53
55
|
```
|
|
54
56
|
|
|
55
57
|
### Interactive Mode
|
|
@@ -77,12 +79,12 @@ task list --status pending,in_progress
|
|
|
77
79
|
task list --priority critical,high
|
|
78
80
|
```
|
|
79
81
|
|
|
80
|
-
###
|
|
82
|
+
### Workspaces
|
|
81
83
|
|
|
82
84
|
```bash
|
|
83
|
-
task
|
|
84
|
-
task
|
|
85
|
-
task
|
|
85
|
+
task workspaces # List all workspaces
|
|
86
|
+
task ws # Alias
|
|
87
|
+
task workspaces --all # Include all workspaces
|
|
86
88
|
```
|
|
87
89
|
|
|
88
90
|
### Inbox
|
|
@@ -147,10 +149,38 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
|
|
|
147
149
|
|
|
148
150
|
```
|
|
149
151
|
.tasks/
|
|
150
|
-
├──
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
└──
|
|
152
|
+
├── inbox.json # Quick capture items (global)
|
|
153
|
+
└── {workspace}/ # Auto-detected from git repo name
|
|
154
|
+
├── tasks.json # V2 format with tags
|
|
155
|
+
└── history.jsonl # Action history
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Configuration
|
|
159
|
+
|
|
160
|
+
### Environment Variables
|
|
161
|
+
|
|
162
|
+
| Variable | Description | Default |
|
|
163
|
+
|----------|-------------|---------|
|
|
164
|
+
| `TASKS_DIR` | Custom path for task storage | `~/.tasks` |
|
|
165
|
+
| `TASKS_LOCAL` | Set to "true" for project-local storage | - |
|
|
166
|
+
|
|
167
|
+
### Storage Priority
|
|
168
|
+
|
|
169
|
+
1. `TASKS_DIR` environment variable (if set)
|
|
170
|
+
2. `TASKS_LOCAL=true` → `./tasks` (project-local)
|
|
171
|
+
3. Default: `~/.tasks` (global)
|
|
172
|
+
|
|
173
|
+
### Examples
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
# Use global storage (default)
|
|
177
|
+
task
|
|
178
|
+
|
|
179
|
+
# Use project-local storage
|
|
180
|
+
TASKS_LOCAL=true task
|
|
181
|
+
|
|
182
|
+
# Use custom directory
|
|
183
|
+
TASKS_DIR=/path/to/tasks task
|
|
154
184
|
```
|
|
155
185
|
|
|
156
186
|
## Examples
|
|
@@ -159,7 +189,7 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
|
|
|
159
189
|
# View all high-priority blocked tasks
|
|
160
190
|
task list --status blocked --priority high
|
|
161
191
|
|
|
162
|
-
# Start interactive mode for
|
|
192
|
+
# Start interactive mode for workspace exploration
|
|
163
193
|
task -i
|
|
164
194
|
|
|
165
195
|
# Capture idea and check inbox
|
|
@@ -167,10 +197,10 @@ task inbox "Refactor auth module !critical #backend"
|
|
|
167
197
|
task inbox list
|
|
168
198
|
|
|
169
199
|
# Promote inbox item to task
|
|
170
|
-
task inbox promote inb_abc123
|
|
200
|
+
task inbox promote inb_abc123
|
|
171
201
|
|
|
172
|
-
# Show dashboard for specific
|
|
173
|
-
task d
|
|
202
|
+
# Show dashboard for specific workspace
|
|
203
|
+
task d my-project
|
|
174
204
|
```
|
|
175
205
|
|
|
176
206
|
## 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
|
|