starting impleemntation with the commands and such
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import Arg from "./arg";
|
||||
import Option from "./option";
|
||||
|
||||
export enum CommandType {
|
||||
git = "git",
|
||||
npm = "npm",
|
||||
commit = "git commit",
|
||||
}
|
||||
|
||||
export default class Command {
|
||||
constructor(
|
||||
type: CommandType,
|
||||
subcommands?: Command[],
|
||||
args?: Arg | Arg[],
|
||||
options?: Option[]
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user