@alejandrochaves/devflow-cli 1.3.0 → 1.3.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 +70 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -251,6 +251,54 @@ Labels: feature
|
|
|
251
251
|
|
|
252
252
|
Requires `gh` CLI.
|
|
253
253
|
|
|
254
|
+
### `devflow issues` (alias: `is`)
|
|
255
|
+
|
|
256
|
+
List and manage issues from your GitHub Project board. Enables issue-first development with automatic status tracking.
|
|
257
|
+
|
|
258
|
+
**Prerequisites:**
|
|
259
|
+
- GitHub Project (v2) linked to your repository
|
|
260
|
+
- `project` configuration in `.devflow/config.json`
|
|
261
|
+
|
|
262
|
+
**Commands:**
|
|
263
|
+
```bash
|
|
264
|
+
# List Todo and In Progress items from project board
|
|
265
|
+
devflow issues
|
|
266
|
+
|
|
267
|
+
# Filter by status
|
|
268
|
+
devflow issues --status todo
|
|
269
|
+
devflow issues --status in-progress
|
|
270
|
+
devflow issues --status in-review
|
|
271
|
+
|
|
272
|
+
# Show unassigned Todo items
|
|
273
|
+
devflow issues --available
|
|
274
|
+
|
|
275
|
+
# Start work on an issue (assigns to you, moves to In Progress, creates branch)
|
|
276
|
+
devflow issues --work
|
|
277
|
+
|
|
278
|
+
# Non-interactive: work on specific issue
|
|
279
|
+
devflow issues --work --issue 123 --branch-desc "add-auth" --yes
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
**Issue-First Workflow:**
|
|
283
|
+
```bash
|
|
284
|
+
# 1. See available work
|
|
285
|
+
devflow issues
|
|
286
|
+
|
|
287
|
+
# 2. Pick an issue and start working
|
|
288
|
+
devflow issues --work --issue 42 --yes
|
|
289
|
+
|
|
290
|
+
# 3. Make changes and commit
|
|
291
|
+
git add <files>
|
|
292
|
+
devflow commit
|
|
293
|
+
|
|
294
|
+
# 4. Create PR (auto-moves issue to "In Review")
|
|
295
|
+
devflow pr
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
When you create a PR linked to an issue, devflow automatically moves the issue to "In Review" status on the project board.
|
|
299
|
+
|
|
300
|
+
Requires `gh` CLI with project permissions (`gh auth refresh -s project`).
|
|
301
|
+
|
|
254
302
|
### `devflow stash` (alias: `st`)
|
|
255
303
|
|
|
256
304
|
Named stash management with an interactive interface.
|
|
@@ -394,6 +442,7 @@ eval "$(devflow completions --shell bash)"
|
|
|
394
442
|
| `devflow review` | `devflow rv` |
|
|
395
443
|
| `devflow comments` | `devflow cm` |
|
|
396
444
|
| `devflow issue` | `devflow i` |
|
|
445
|
+
| `devflow issues` | `devflow is` |
|
|
397
446
|
| `devflow stash` | `devflow st` |
|
|
398
447
|
| `devflow worktree` | `devflow wt` |
|
|
399
448
|
| `devflow log` | `devflow l` |
|
|
@@ -416,6 +465,7 @@ devflow merge --dry-run
|
|
|
416
465
|
devflow cleanup --dry-run
|
|
417
466
|
devflow changelog --dry-run
|
|
418
467
|
devflow issue --dry-run
|
|
468
|
+
devflow issues --dry-run
|
|
419
469
|
```
|
|
420
470
|
|
|
421
471
|
## Configuration
|
|
@@ -445,7 +495,21 @@ Create a `.devflow/config.json` in your project (or run `devflow init`):
|
|
|
445
495
|
"sections": ["summary", "ticket", "type", "screenshots", "testPlan", "checklist"],
|
|
446
496
|
"screenshotsTable": true
|
|
447
497
|
},
|
|
448
|
-
"prReviewers": ["copilot"]
|
|
498
|
+
"prReviewers": ["copilot"],
|
|
499
|
+
"ticketProvider": {
|
|
500
|
+
"type": "github"
|
|
501
|
+
},
|
|
502
|
+
"project": {
|
|
503
|
+
"enabled": true,
|
|
504
|
+
"number": 1,
|
|
505
|
+
"statusField": "Status",
|
|
506
|
+
"statuses": {
|
|
507
|
+
"todo": "Todo",
|
|
508
|
+
"inProgress": "In Progress",
|
|
509
|
+
"inReview": "In Review",
|
|
510
|
+
"done": "Done"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
449
513
|
}
|
|
450
514
|
```
|
|
451
515
|
|
|
@@ -463,6 +527,11 @@ Create a `.devflow/config.json` in your project (or run `devflow init`):
|
|
|
463
527
|
| `prTemplate.sections` | PR body sections to include | All sections |
|
|
464
528
|
| `prTemplate.screenshotsTable` | Include before/after screenshots table | `true` |
|
|
465
529
|
| `prReviewers` | Default PR reviewers (GitHub usernames) | — |
|
|
530
|
+
| `ticketProvider.type` | Ticket provider type (currently `"github"`) | — |
|
|
531
|
+
| `project.enabled` | Enable GitHub Projects v2 integration | `false` |
|
|
532
|
+
| `project.number` | GitHub Project number (from URL) | — |
|
|
533
|
+
| `project.statusField` | Name of the status field in your project | `"Status"` |
|
|
534
|
+
| `project.statuses` | Mapping of status keys to your project's status names | — |
|
|
466
535
|
|
|
467
536
|
### Shareable Configs (`extends`)
|
|
468
537
|
|