@krtclcdy/tersio 2.21.0 → 2.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tersio.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  // tersio.ts — Install Tersio (caveman/rtk/ponytail) add-ons on any OMP device.
3
- // Usage: node tersio.js [install|update|reinstall|doctor|uninstall|version|help] [options]
3
+ // Usage: node tersio.js [install|update|reinstall|doctor|dashboard|uninstall|version|help] [options]
4
4
  // Requires: node/npm and omp CLI
5
- import { PACKAGE_BIN, PACKAGE_VERSION, applyUpdate, commandArg, gain, dashboardExport, dashboardOpen, dashboardPort, doctor, reset, settings, showHelp, showVersion, uninstall, unknownCommand, update, usage, } from './cli/common.js';
5
+ import { PACKAGE_BIN, PACKAGE_VERSION, applyUpdate, commandArg, dashboard, dashboardExport, dashboardOpen, dashboardPort, doctor, reset, settings, showHelp, showVersion, uninstall, unknownCommand, update, usage, } from './cli/common.js';
6
6
  import { closeRL } from './cli/interactive.js';
7
7
  import { runInstall } from './cli/install.js';
8
8
  import { runDoctor } from './cli/doctor.js';
@@ -21,7 +21,7 @@ Commands:
21
21
  reinstall Clean and reinstall the user-scope add-ons
22
22
  doctor Check the current installation (--fix repairs, --dry-run previews)
23
23
  usage Ledger-backed usage + savings report
24
- gain Open the gain dashboard (localhost only)
24
+ dashboard Open the Dashboard (localhost only)
25
25
  reset Clear tersio statistics (usage ledger)
26
26
  settings View/change session-start defaults (combo, caveman, rtk, ponytail)
27
27
  uninstall Remove the managed extensions
@@ -31,7 +31,7 @@ Commands:
31
31
  Options:
32
32
  --fix (doctor: repairs all; --fix=<scope> repairs one of extensions, registrations, rtk, ponytail, cli)
33
33
  --scope user (legacy; accepted and ignored — user scope is the only scope)
34
- --keep-ponytail (uninstall: keep the Ponytail plugin — removed by default)
34
+ --keep-ponytail (uninstall: keep the bundled Ponytail copy — removed by default)
35
35
  --remove-rtk (uninstall: also remove the RTK binary)
36
36
  --combo-default off|medium|balanced|max (implies caveman, rtk, ponytail)
37
37
  --caveman-default off|lite|full|ultra|wenyan (override; default follows combo)
@@ -40,10 +40,10 @@ Options:
40
40
  --yes, -y
41
41
  --dry-run
42
42
  --verbose
43
- --port <n> (gain: pin port, default ephemeral)
44
- --open (gain: open browser)
45
- --export <file> (gain: write HTML file instead of serving)
46
- --currency <code> (usage|gain: display currency; flag wins, then tersio settings default, then USD)
43
+ --port <n> (dashboard: pin port, default ephemeral)
44
+ --open (dashboard: open browser)
45
+ --export <file> (dashboard: write HTML file instead of serving)
46
+ --currency <code> (usage|dashboard: display currency; flag wins, then tersio settings default, then USD)
47
47
  --version, -v
48
48
  --help, -h`);
49
49
  }
@@ -80,7 +80,7 @@ async function main() {
80
80
  closeRL();
81
81
  return;
82
82
  }
83
- if (gain) {
83
+ if (dashboard) {
84
84
  await runDashboard({ port: dashboardPort, open: dashboardOpen, exportFile: dashboardExport });
85
85
  closeRL();
86
86
  return;