Skip to content

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 ​

ParameterType

__namedParameters

UpdateNotifierPluginOptions

Returns ​

Plugin

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
();

Released under the MIT license