1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 01:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-11-16 18:54:34 +08:00
parent 91fc0caa07
commit fa750ba157

View File

@@ -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.