UNPKG

@clerc/plugin-version

Version:
20 lines (17 loc) 488 B
import * as _clerc_core from '@clerc/core'; 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) => _clerc_core.Plugin<_clerc_core.Clerc<{}, {}>, _clerc_core.Clerc<{}, {}>>; export { versionPlugin };