UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

16 lines (15 loc) 740 B
/** * InfoCommand - Display project metadata * * Prints a short summary of the active project: name, total item * count, the number of behavior-pack vs resource-pack items, and * the manifest format_version when discoverable. Read-only. */ import type { IToolCommandMetadata, IToolCommandResult } from "../IToolCommand"; import { ToolCommandBase } from "../IToolCommand"; import type { IToolCommandContext } from "../IToolCommandContext"; export declare class InfoCommand extends ToolCommandBase { readonly metadata: IToolCommandMetadata; execute(context: IToolCommandContext, _args: string[], _flags: Record<string, string | boolean | string[]>): Promise<IToolCommandResult>; } export declare const infoCommand: InfoCommand;