@clerc/plugin-version
Version:
Clerc plugin version
23 lines (22 loc) • 423 B
text/typescript
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 };