fix(cli): rename the update command references to upgrade across the CLI and documentation

This commit is contained in:
2026-03-15 12:04:05 +00:00
parent 7de521078e
commit 1c50509497
9 changed files with 18 additions and 11 deletions

View File

@@ -235,7 +235,7 @@ export class Nupst implements INupstAccessor {
if (this.updateAvailable && this.latestVersion) {
logger.logBoxLine(`Update Available: ${this.latestVersion}`);
logger.logBoxLine('Run "sudo nupst update" to update');
logger.logBoxLine('Run "sudo nupst upgrade" to upgrade');
logger.logBoxEnd();
} else if (checkForUpdates) {
logger.logBoxLine('Checking for updates...');
@@ -244,7 +244,7 @@ export class Nupst implements INupstAccessor {
this.checkForUpdates().then((updateAvailable) => {
if (updateAvailable) {
logger.logBoxLine(`Update Available: ${this.latestVersion}`);
logger.logBoxLine('Run "sudo nupst update" to update');
logger.logBoxLine('Run "sudo nupst upgrade" to upgrade');
} else {
logger.logBoxLine('You are running the latest version');
}