@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
22 lines (21 loc) • 1.02 kB
TypeScript
/**
* CreateCommand - Create a new Minecraft project
*
* This ToolCommand provides project creation capabilities across all surfaces.
* It uses the same core libraries as the CLI CreateCommand but without
* the interactive prompting logic.
*
* The command creates a project from a template, syncing content from GitHub.
*/
import type { IToolCommandMetadata, IToolCommandResult } from "../IToolCommand";
import { ToolCommandBase } from "../IToolCommand";
import type { IToolCommandContext } from "../IToolCommandContext";
export declare class CreateCommand extends ToolCommandBase {
readonly metadata: IToolCommandMetadata;
execute(context: IToolCommandContext, args: string[], flags: Record<string, string | boolean | string[]>): Promise<IToolCommandResult>;
/**
* Custom completions for template argument.
*/
getCompletions(context: IToolCommandContext, args: string[], partialArg: string, argIndex: number): Promise<string[]>;
}
export declare const createCommand: CreateCommand;