Compare commits

...

3 commits

Author SHA1 Message Date
Tiara Rodney
b3f9e49560
chore: bump version 2026-03-15 04:07:16 +01:00
Tiara Rodney
af74088878
docs: reword README abstract 2026-03-15 04:06:12 +01:00
Tiara Rodney
0330ccb0b1
refactor: exclude body on open commits 2026-03-15 04:04:18 +01:00
3 changed files with 7 additions and 10 deletions

View file

@ -1,8 +1,9 @@
# @byteb4rb1e/mime-todo # @byteb4rb1e/mime-todo
CLI for the [MIME TODO specification](https://bitbucket.org/byteb4rb1e/mime-todo-spec) — a CLI implementation for the [MIME TODO specification](https://bitbucket.org/byteb4rb1e/mime-todo-spec)
deterministic, spec-first issue tracker that lives inside a SCM repository as a
plain-text `TODO` file. A deterministic, spec-first issue tracker that lives inside a SCM repository as
a plain-text `TODO` file.
## Install ## Install

View file

@ -1,7 +1,7 @@
import type { Argv, ArgumentsCamelCase } from "yargs" import type { Argv, ArgumentsCamelCase } from "yargs"
import { CLICommand } from "../cli/CLICommand" import { CLICommand } from "../cli/CLICommand"
import { parseTodoFile, writeTodoFile } from "../file" import { parseTodoFile, writeTodoFile } from "../file"
import { getCurrentBranch, commitFileWithBody } from "../git" import { getCurrentBranch, commitFile } from "../git"
import type { IssueType, IssuePriority } from "../issue" import type { IssueType, IssuePriority } from "../issue"
export class CreateCommand extends CLICommand { export class CreateCommand extends CLICommand {
@ -76,11 +76,7 @@ export class CreateCommand extends CLICommand {
}) })
writeTodoFile(todo) writeTodoFile(todo)
commitFileWithBody( commitFile("TODO", `todo(${nextId}): open`)
"TODO",
`todo(${nextId}): open`,
args.plan as string
)
console.log(`Created issue #${nextId}: ${args.title}`) console.log(`Created issue #${nextId}: ${args.title}`)
return 0 return 0
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@byteb4rb1e/mime-todo", "name": "@byteb4rb1e/mime-todo",
"version": "0.1.0", "version": "0.2.0",
"description": "CLI for the MIME TODO issue tracker specification with Bugzilla integration", "description": "CLI for the MIME TODO issue tracker specification with Bugzilla integration",
"author": "Tiara Rodney <me@tiararodney.com>", "author": "Tiara Rodney <me@tiararodney.com>",
"license": "CC-BY-ND-4.0", "license": "CC-BY-ND-4.0",