UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

17 lines (16 loc) 841 B
/** * ExportCommand - Hint for exporting the current project as a .mcaddon * * The slash-bar version is intentionally informational — actual * .mcaddon packaging is best driven from the Project Actions * "Export" dropdown (which orchestrates dialogs, file pickers, * and pack selection). This command tells the user where to go. */ import type { IToolCommandMetadata, IToolCommandResult } from "../IToolCommand"; import { ToolCommandBase } from "../IToolCommand"; import type { IToolCommandContext } from "../IToolCommandContext"; export declare class ExportCommand extends ToolCommandBase { readonly metadata: IToolCommandMetadata; execute(context: IToolCommandContext, _args: string[], _flags: Record<string, string | boolean | string[]>): Promise<IToolCommandResult>; } export declare const exportCommand: ExportCommand;