@redcumbrecl/cli 0.6.12 → 0.6.13
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/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5413,7 +5413,7 @@ async function correr(globales, accion, opciones = {}) {
|
|
|
5413
5413
|
const salida = crearSalida(agente);
|
|
5414
5414
|
const terminal = agente ? null : crearTerminal(process.stdin, process.stdout);
|
|
5415
5415
|
try {
|
|
5416
|
-
const ctx = crearContexto({ salida, terminal, sinNavegador: Boolean(globales.sinNavegador), cwd: process.cwd(), env: process.env, version: "0.6.
|
|
5416
|
+
const ctx = crearContexto({ salida, terminal, sinNavegador: Boolean(globales.sinNavegador), cwd: process.cwd(), env: process.env, version: "0.6.13" });
|
|
5417
5417
|
await exigirVersionMinima({
|
|
5418
5418
|
version: ctx.version,
|
|
5419
5419
|
env: process.env,
|
|
@@ -8995,7 +8995,7 @@ function errorDeUsoEnEspanol(mensaje) {
|
|
|
8995
8995
|
}
|
|
8996
8996
|
var TITULOS_AYUDA = { "Usage:": "Uso:", "Options:": "Opciones:", "Commands:": "Comandos:", "Arguments:": "Argumentos:" };
|
|
8997
8997
|
var sumar = (valor, anteriores) => [...anteriores, valor];
|
|
8998
|
-
var programa = new Command3().name("redcumbre").description("El CLI de REDCUMBRE: conecta tu proyecto en el modo de prueba, opera la API y pasa a producci\xF3n cuando est\xE9s listo.").version("0.6.
|
|
8998
|
+
var programa = new Command3().name("redcumbre").description("El CLI de REDCUMBRE: conecta tu proyecto en el modo de prueba, opera la API y pasa a producci\xF3n cuando est\xE9s listo.").version("0.6.13", "-v, --version", "muestra la versi\xF3n").helpOption("-h, --help", "muestra esta ayuda").helpCommand(false).usage("[opciones] [comando]").enablePositionalOptions().configureHelp({ styleTitle: (titulo) => TITULOS_AYUDA[titulo] ?? titulo, subcommandTerm: (comando2) => `${comando2.name()} ${comando2.usage()}`.trim() }).showHelpAfterError("(corre redcumbre --help para ver los comandos)").configureOutput({ outputError: (texto2, escribir2) => escribir2(`\u2717 ${errorDeUsoEnEspanol(texto2)}
|
|
8999
8999
|
`) }).exitOverride((error) => {
|
|
9000
9000
|
if (error.code === "commander.helpDisplayed" || error.code === "commander.version" || error.code === "commander.help") process.exit(0);
|
|
9001
9001
|
if (process.argv.includes("--json")) {
|
package/package.json
CHANGED