Skip to content

@clerc/plugin-update-notifier

Interfaces

InterfaceDescription

UpdateNotifierPluginOptions

Functions

FunctionDescription

updateNotifierPlugin

Plugin to check for CLI updates using update-notifier.

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