From fa750ba157f910276134e80bae23edd5bba5bf02 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Sat, 16 Nov 2024 18:54:34 +0800 Subject: [PATCH] update --- src/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index cb5bec5..6658812 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,9 +5,13 @@ import updateNotifier from 'update-notifier'; import { printVersionCommand } from './utils/index.js'; import pkg from '../package.json'; -updateNotifier({ pkg }).notify({ isGlobal: true }); +updateNotifier({ pkg }).notify({ + isGlobal: true, + message: + '建议运行 `{updateCommand}` 来更新命令行工具以获得功能、性能和安全性的持续改进', +}); -function printUsage({ args }) { +function printUsage() { // const commandName = args[0]; // TODO: print usage of commandName, or print global usage.