UNPKG

rune

Version:

CLI to upload your games to Rune

49 lines (48 loc) 1.33 kB
export declare const cli: import("meow").Result<{ version: { type: "boolean"; alias: string; }; release: { alias: string; type: "boolean"; default: false; }; draft: { alias: string; type: "boolean"; default: false; }; name: { type: "string"; alias: string; }; }>; export declare const validCommands: readonly ["help", "logout", "list", "upload", "update-info", "update-members", "create", "dashboard", "dash", "dusk-to-rune"]; export declare function cliCommand(): { command: "upload" | "help" | "logout" | "list" | "update-info" | "update-members" | "create" | "dashboard" | "dash" | "dusk-to-rune" | undefined; args: string[]; commandInvalid: boolean | undefined; flags: import("meow").TypedFlags<{ version: { type: "boolean"; alias: string; }; release: { alias: string; type: "boolean"; default: false; }; draft: { alias: string; type: "boolean"; default: false; }; name: { type: "string"; alias: string; }; }> & Record<string, unknown>; }; export type CLI = typeof cli; export type CliFlags = CLI["flags"];