refactor: js output
This commit is contained in:
parent
1aa28c2a34
commit
c6704c3a04
96 changed files with 3816 additions and 147 deletions
|
|
@ -1,18 +0,0 @@
|
|||
// Abstract base class for CLI commands — modeled after the Python CLICommand pattern
|
||||
import type { Argv, ArgumentsCamelCase } from "yargs"
|
||||
|
||||
export abstract class CLICommand {
|
||||
abstract readonly name: string
|
||||
abstract readonly help: string
|
||||
abstract readonly description: string
|
||||
|
||||
static _subcommands: (new () => CLICommand)[] = []
|
||||
|
||||
addArguments(yargs: Argv): Argv {
|
||||
return yargs
|
||||
}
|
||||
|
||||
async execute(args: ArgumentsCamelCase): Promise<number> {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue