@staff0rd/assist 0.53.0 → 0.54.0
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/index.js +15 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ After installation, the `assist` command will be available globally.
|
|
|
52
52
|
- `assist prs wontfix <comment-id> <reason>` - Reply with reason and resolve thread
|
|
53
53
|
- `assist backlog` - List all backlog items (same as `backlog list`)
|
|
54
54
|
- `assist backlog init` - Create an empty assist.backlog.yml
|
|
55
|
-
- `assist backlog list [--status <type>]` - List all backlog items with status icons
|
|
55
|
+
- `assist backlog list [--status <type>] [-v]` - List all backlog items with status icons
|
|
56
56
|
- `assist backlog add` - Add a new backlog item interactively
|
|
57
57
|
- `assist backlog start <id>` - Set a backlog item to in-progress
|
|
58
58
|
- `assist backlog done <id>` - Set a backlog item to done
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Command } from "commander";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@staff0rd/assist",
|
|
10
|
-
version: "0.
|
|
10
|
+
version: "0.54.0",
|
|
11
11
|
type: "module",
|
|
12
12
|
main: "dist/index.js",
|
|
13
13
|
bin: {
|
|
@@ -1982,8 +1982,20 @@ async function list(options2) {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
for (const item of items) {
|
|
1984
1984
|
console.log(
|
|
1985
|
-
`${statusIcon(item.status)} ${
|
|
1985
|
+
`${statusIcon(item.status)} ${chalk26.dim(`#${item.id}`)} ${item.name}`
|
|
1986
1986
|
);
|
|
1987
|
+
if (options2.verbose) {
|
|
1988
|
+
if (item.description) {
|
|
1989
|
+
console.log(` ${chalk26.dim("Description:")} ${item.description}`);
|
|
1990
|
+
}
|
|
1991
|
+
if (item.acceptanceCriteria.length > 0) {
|
|
1992
|
+
console.log(` ${chalk26.dim("Acceptance criteria:")}`);
|
|
1993
|
+
for (const criterion of item.acceptanceCriteria) {
|
|
1994
|
+
console.log(` - ${criterion}`);
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
console.log();
|
|
1998
|
+
}
|
|
1987
1999
|
}
|
|
1988
2000
|
}
|
|
1989
2001
|
|
|
@@ -2000,7 +2012,7 @@ async function start(id) {
|
|
|
2000
2012
|
function registerBacklog(program2) {
|
|
2001
2013
|
const backlogCommand = program2.command("backlog").description("Manage a backlog of work items").action(list);
|
|
2002
2014
|
backlogCommand.command("init").description("Create an empty assist.backlog.yml").action(init6);
|
|
2003
|
-
backlogCommand.command("list").description("List all backlog items").option("--status <type>", "Filter by status (todo, in-progress, done)").action(list);
|
|
2015
|
+
backlogCommand.command("list").description("List all backlog items").option("--status <type>", "Filter by status (todo, in-progress, done)").option("-v, --verbose", "Show all item details").action(list);
|
|
2004
2016
|
backlogCommand.command("add").description("Add a new backlog item").action(add);
|
|
2005
2017
|
backlogCommand.command("start <id>").description("Set a backlog item to in-progress").action(start);
|
|
2006
2018
|
backlogCommand.command("done <id>").description("Set a backlog item to done").action(done);
|