@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
17 lines (16 loc) • 824 B
TypeScript
/**
* DeployCommand - Hint for deploying the current project
*
* Real deployment requires filesystem access (e.g. com.mojang
* folder on Windows) and is only available in the Electron host
* or via the CLI. The slash-bar version is informational — it
* directs the user to the Project Actions "Deploy" dropdown.
*/
import type { IToolCommandMetadata, IToolCommandResult } from "../IToolCommand";
import { ToolCommandBase } from "../IToolCommand";
import type { IToolCommandContext } from "../IToolCommandContext";
export declare class DeployCommand extends ToolCommandBase {
readonly metadata: IToolCommandMetadata;
execute(context: IToolCommandContext, _args: string[], _flags: Record<string, string | boolean | string[]>): Promise<IToolCommandResult>;
}
export declare const deployCommand: DeployCommand;