Fix stuff, help command

This commit is contained in:
2021-12-17 18:55:00 +01:00
parent a535c5b69a
commit c25a0e34e2
8 changed files with 77 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
interface Flag {
export interface Flag {
short: string;
long: string;
desc: string;
@@ -15,5 +15,5 @@ export interface Command {
desc: string;
flags?: Flag[];
subcommands?: SubCommand[];
execute: (flags: string[], args: string[], raw: string) => string[];
execute: (flags: string[], args: string[], raw: string, extra?: any) => string[];
}