smartcli/ts/smartcli.interfaces.ts

23 lines
373 B
TypeScript

import "typings-global";
export interface CliCommand {
specified: boolean;
name: string;
arguments:CliCommandArgument[];
}
export interface CliOption {
name: string;
specified:boolean;
value: any;
}
export interface Directory {
path: string;
}
export interface CliCommandArgument {
specified:boolean;
name:string;
level:number;
}