@shopify/cli-kit
Version:
A set of utilities, interfaces, and models that are common across all the platform features
16 lines (15 loc) • 340 B
TypeScript
export interface GlobalContext {
currentCommandId: string;
}
/**
* Get the current command ID.
*
* @returns Current command ID.
*/
export declare function getCurrentCommandId(): string;
/**
* Set the current command ID.
*
* @param commandId - Command ID.
*/
export declare function setCurrentCommandId(commandId: string): void;