UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

17 lines (16 loc) 459 B
import { Hook } from '@oclif/core'; export declare interface CommandContent { command: string; topic?: string; alias?: string; } export declare const hook: Hook.Prerun; export declare function parseCommandContent(cmdInfo: { id: string; aliases: string[]; pluginAlias?: string; }): CommandContent; /** * Warns the user if there is a new version of the CLI available */ export declare function warnOnAvailableUpgrade(): Promise<void>;