Merge branch 'develop'
This commit is contained in:
commit
1aa28c2a34
3 changed files with 7 additions and 10 deletions
|
|
@ -1,8 +1,9 @@
|
|||
# @byteb4rb1e/mime-todo
|
||||
|
||||
CLI for the [MIME TODO specification](https://bitbucket.org/byteb4rb1e/mime-todo-spec) — a
|
||||
deterministic, spec-first issue tracker that lives inside a SCM repository as a
|
||||
plain-text `TODO` file.
|
||||
CLI implementation for the [MIME TODO specification](https://bitbucket.org/byteb4rb1e/mime-todo-spec)
|
||||
|
||||
A deterministic, spec-first issue tracker that lives inside a SCM repository as
|
||||
a plain-text `TODO` file.
|
||||
|
||||
## Install
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import type { Argv, ArgumentsCamelCase } from "yargs"
|
||||
import { CLICommand } from "../cli/CLICommand"
|
||||
import { parseTodoFile, writeTodoFile } from "../file"
|
||||
import { getCurrentBranch, commitFileWithBody } from "../git"
|
||||
import { getCurrentBranch, commitFile } from "../git"
|
||||
import type { IssueType, IssuePriority } from "../issue"
|
||||
|
||||
export class CreateCommand extends CLICommand {
|
||||
|
|
@ -76,11 +76,7 @@ export class CreateCommand extends CLICommand {
|
|||
})
|
||||
|
||||
writeTodoFile(todo)
|
||||
commitFileWithBody(
|
||||
"TODO",
|
||||
`todo(${nextId}): open`,
|
||||
args.plan as string
|
||||
)
|
||||
commitFile("TODO", `todo(${nextId}): open`)
|
||||
console.log(`Created issue #${nextId}: ${args.title}`)
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@byteb4rb1e/mime-todo",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"description": "CLI for the MIME TODO issue tracker specification with Bugzilla integration",
|
||||
"author": "Tiara Rodney <me@tiararodney.com>",
|
||||
"license": "CC-BY-ND-4.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue