refactor: js output
This commit is contained in:
parent
1aa28c2a34
commit
c6704c3a04
96 changed files with 3816 additions and 147 deletions
|
|
@ -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()
|
||||
|
|
|
|||
26
bin/main.ts
26
bin/main.ts
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue