@we-scrum/cli 6.8.2 → 6.9.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 +34 -20
- package/dist/cli.js +51 -39
- package/package.json +4 -4
- package/src/commands/iteration.ts +1 -1
- package/src/commands/story.ts +10 -0
- package/src/helpers/template.helper.ts +2 -0
- package/src/helpers/we-scrum.helper.ts +15 -0
- package/templates/get-next-task-breakpoint.hbs +11 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @we-scrum/cli
|
|
2
2
|
|
|
3
|
-
Command-line tool
|
|
3
|
+
Command-line tool for the [we-scrum](https://github.com/BUONJG/we-scrum) application.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -28,35 +28,49 @@ we-scrum use-project --projectId <id> # Set project directly
|
|
|
28
28
|
|
|
29
29
|
The selected project is persisted in `~/.we-scrum.json` and used by all subsequent commands.
|
|
30
30
|
|
|
31
|
-
###
|
|
31
|
+
### Development policies
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
```bash
|
|
34
|
+
we-scrum synchronize-development-policies # Sync development guidelines from we-scrum into the project
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Story analysis
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
we-scrum get-story-description --identificationNumber <id> # Get the description of a story
|
|
41
|
+
we-scrum get-story-analysis --identificationNumber <id> # Get the analysis DSL for a story
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Story development
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
we-scrum get-next-task --identificationNumber <id>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Gets the next pending task (status: ToDo) for a story, including its description, type template, section analysis, and the IDs needed to start or complete it.
|
|
51
|
+
|
|
52
|
+
If the next task is paused by an automation breakpoint, this command stops and reports the pause instead of returning task details — see [Automation breakpoints](#automation-breakpoints) below.
|
|
34
53
|
|
|
35
54
|
```bash
|
|
36
|
-
we-scrum
|
|
37
|
-
we-scrum
|
|
55
|
+
we-scrum start-task --identificationNumber <id> --taskId <taskId> # Mark a specific task as in progress
|
|
56
|
+
we-scrum complete-task --identificationNumber <id> --taskId <taskId> # Mark the current in-progress task as done
|
|
38
57
|
```
|
|
39
58
|
|
|
40
|
-
|
|
59
|
+
### Automation breakpoints
|
|
41
60
|
|
|
42
|
-
|
|
61
|
+
A developer can set a breakpoint on a change from the we-scrum web app to pause automated development at that point. When `get-next-task` hits a change with a breakpoint set, it halts and reports the pause instead of proceeding.
|
|
43
62
|
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
"mcpServers": {
|
|
47
|
-
"we-scrum": {
|
|
48
|
-
"command": "we-scrum",
|
|
49
|
-
"args": ["mcp"]
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
63
|
+
```bash
|
|
64
|
+
we-scrum remove-automation-breakpoint --automationBreakpointId <id>
|
|
53
65
|
```
|
|
54
66
|
|
|
55
|
-
|
|
67
|
+
Clears the breakpoint so development can resume. The id is included in the `get-next-task` output when a breakpoint is hit.
|
|
68
|
+
|
|
69
|
+
### Iterations
|
|
56
70
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
71
|
+
```bash
|
|
72
|
+
we-scrum update-iteration --name <name> [--capacity <capacity>] [--comment <comment>] [--startDate <date>] [--endDate <date>]
|
|
73
|
+
```
|
|
60
74
|
|
|
61
75
|
## Requirements
|
|
62
76
|
|