refactor: js output

This commit is contained in:
Tiara Rodney 2026-03-15 05:11:59 +01:00
parent 1aa28c2a34
commit c6704c3a04
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
96 changed files with 3816 additions and 147 deletions

View file

@ -2,8 +2,8 @@
// Standalone Bugzilla CLI — interact with Bugzilla REST API directly
import yargs from "yargs"
import { hideBin } from "yargs/helpers"
import { BugzillaClient } from "../lib/bugzilla/client"
import { loadConfig } from "../lib/bugzilla/config"
import { BugzillaClient } from "../lib/bugzilla/client.js"
import { loadConfig } from "../lib/bugzilla/config.js"
function getClient() {
const config = loadConfig()

View file

@ -1,19 +1,19 @@
#!/usr/bin/env node
// mime-todo CLI — spec-compliant issue lifecycle management
import { CLI } from "../lib/cli/CLI"
import { CreateCommand } from "../lib/commands/CreateCommand"
import { StartCommand } from "../lib/commands/StartCommand"
import { DoneCommand } from "../lib/commands/DoneCommand"
import { HoldCommand } from "../lib/commands/HoldCommand"
import { CancelCommand } from "../lib/commands/CancelCommand"
import { IssueListCommand } from "../lib/commands/IssueListCommand"
import { IssueShowCommand } from "../lib/commands/IssueShowCommand"
import { SprintsCommand } from "../lib/commands/SprintsCommand"
import { IssuesInSprintCommand } from "../lib/commands/IssuesInSprintCommand"
import { PushCommand } from "../lib/commands/PushCommand"
import { InitCommand } from "../lib/commands/InitCommand"
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: "todo", description: "MIME TODO issue tracker" })
const cli = new CLI({ prog: "mime-todo", description: "MIME TODO issue tracker" })
cli.bootstrap([
InitCommand,
CreateCommand,