🎉 Copy all the melon code over

This commit is contained in:
trickypr 2021-09-20 10:59:07 +10:00
parent f32d867abc
commit 5777e350af
38 changed files with 2727 additions and 0 deletions

19
src/types.d.ts vendored Normal file
View file

@ -0,0 +1,19 @@
export interface Cmd {
cmd: string;
description: string;
controller: (...args: any) => void;
options?: CmdOption[];
aliases?: string[];
flags?: {
platforms?: CmdFlagPlatform[];
};
}
export interface CmdOption {
arg: string;
description: string;
}
export type CmdFlagPlatform = NodeJS.Platform;