UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

17 lines (16 loc) 828 B
/** * ValidateCommand - Run inspector validation on the current project * * Builds a `ProjectInfoSet` for the active project using the * `defaultInDevelopment` suite and reports a one-line summary of * errors, warnings, and recommendations. Useful as a quick * "is my project healthy?" check from the slash bar. */ import type { IToolCommandMetadata, IToolCommandResult } from "../IToolCommand"; import { ToolCommandBase } from "../IToolCommand"; import type { IToolCommandContext } from "../IToolCommandContext"; export declare class ValidateCommand extends ToolCommandBase { readonly metadata: IToolCommandMetadata; execute(context: IToolCommandContext, _args: string[], _flags: Record<string, string | boolean | string[]>): Promise<IToolCommandResult>; } export declare const validateCommand: ValidateCommand;