Files
fig/models/command.ts
T
2022-02-13 20:32:55 -08:00

18 lines
290 B
TypeScript

import Arg from "./arg";
import Option from "./option";
export enum CommandType {
git = "git",
npm = "npm",
commit = "commit"
}
export default class Command {
constructor(
type: CommandType,
subcommands?: Command[],
args?: Arg | Arg[],
options?: Option[]
) {}
}