UNPKG

datapack-manager

Version:
17 lines (16 loc) 505 B
import { Arguments, Argv } from "yargs"; import { InstallMode } from "../world"; declare type Options = Arguments<{ pack: string; world: string; mode: InstallMode; }>; export declare const command: string[]; export declare const desc = "Install a datapack"; export declare function builder(yargs: Argv): Argv<Arguments<{ pack: string; world: string; mode: InstallMode; }>>; export declare function handler({ mode, pack, world }: Options): Promise<void>; export {};