Function: updateNotifierPlugin()
ts
function updateNotifierPlugin(__namedParameters): Plugin;Defined in: packages/plugin-update-notifier/src/index.ts:35
Plugin to check for CLI updates using update-notifier.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | UpdateNotifierPluginOptions |
Returns
Example
ts
import { Clerc } from "@clerc/core";
import { updateNotifierPlugin } from "@clerc/plugin-update-notifier";
import pkg from "./package.json";
Clerc.create().use(updateNotifierPlugin({ pkg })).parse();
