mime-todo-cli/bin/main.ts
2026-03-15 05:11:59 +01:00

29 lines
1.1 KiB
JavaScript

#!/usr/bin/env node
// mime-todo CLI — spec-compliant issue lifecycle management
import { CLI } from "../lib/cli/CLI.js"
import { CreateCommand } from "../lib/commands/CreateCommand.js"
import { StartCommand } from "../lib/commands/StartCommand.js"
import { DoneCommand } from "../lib/commands/DoneCommand.js"
import { HoldCommand } from "../lib/commands/HoldCommand.js"
import { CancelCommand } from "../lib/commands/CancelCommand.js"
import { IssueListCommand } from "../lib/commands/IssueListCommand.js"
import { IssueShowCommand } from "../lib/commands/IssueShowCommand.js"
import { SprintsCommand } from "../lib/commands/SprintsCommand.js"
import { IssuesInSprintCommand } from "../lib/commands/IssuesInSprintCommand.js"
import { PushCommand } from "../lib/commands/PushCommand.js"
import { InitCommand } from "../lib/commands/InitCommand.js"
const cli = new CLI({ prog: "mime-todo", description: "MIME TODO issue tracker" })
cli.bootstrap([
InitCommand,
CreateCommand,
StartCommand,
DoneCommand,
HoldCommand,
CancelCommand,
IssueListCommand,
IssueShowCommand,
SprintsCommand,
IssuesInSprintCommand,
PushCommand,
])