feat: rename --plan to --acceptance-criteria on start, --summary to --acceptance on done

This commit is contained in:
Tiara Rodney 2026-03-22 01:53:25 +01:00
parent 48d6e105de
commit 55bd89683f
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
2 changed files with 6 additions and 6 deletions

View file

@ -12,10 +12,10 @@ export class StartCommand extends CLICommand {
addArguments(yargs: Argv): Argv {
return yargs
.positional("id", { type: "number", demandOption: true })
.option("plan", {
.option("acceptance-criteria", {
type: "string",
demandOption: true,
description: "High-level description of planned approach",
description: "What must be true for this issue to be considered done",
})
}
@ -51,7 +51,7 @@ export class StartCommand extends CLICommand {
commitFileWithBody(
"TODO",
`todo(${issue.id}): in-progress`,
args.plan as string
args.acceptanceCriteria as string
)
console.log(`Issue #${issue.id} is now in-progress`)
console.log(`Create the issue branch: git checkout -b ${issueBranch}`)