nexrall-code 0.5.65 → 0.5.66
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/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53530,6 +53530,7 @@ var {
|
|
|
53530
53530
|
|
|
53531
53531
|
// src/index.ts
|
|
53532
53532
|
import * as path5 from "path";
|
|
53533
|
+
import { createRequire } from "module";
|
|
53533
53534
|
|
|
53534
53535
|
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
53535
53536
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -66449,8 +66450,10 @@ function pluginSourceRemoveCommand(name, opts) {
|
|
|
66449
66450
|
}
|
|
66450
66451
|
|
|
66451
66452
|
// src/index.ts
|
|
66453
|
+
var require2 = createRequire(import.meta.url);
|
|
66454
|
+
var NEX_VERSION = require2("../package.json").version;
|
|
66452
66455
|
var program2 = new Command();
|
|
66453
|
-
program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version(
|
|
66456
|
+
program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version(NEX_VERSION).enablePositionalOptions();
|
|
66454
66457
|
program2.command("auth").description("Login to your Nexrall account").action(authCommand);
|
|
66455
66458
|
program2.command("logout").description("Log out of your Nexrall account").action(logoutCommand);
|
|
66456
66459
|
program2.command("update").description("Update nex to the latest version").option("-c, --check", "Check for updates without installing").option("-y, --yes", "Skip confirmation prompt").action(async (opts) => {
|