UNPKG

@clerc/plugin-version

Version:
23 lines (22 loc) 423 B
import { Plugin } from "@clerc/core"; //#region src/index.d.ts interface VersionPluginOptions { /** * Whether to register the version command. * * @default true */ command?: boolean; /** * Whether to register the global version flag. * * @default true */ flag?: boolean; } declare const versionPlugin: ({ command, flag }?: VersionPluginOptions) => Plugin; //#endregion export { versionPlugin };