plazbot-cli 0.2.8 → 0.2.9
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.
|
@@ -105,9 +105,11 @@ exports.createCommand = new commander_1.Command('create')
|
|
|
105
105
|
}
|
|
106
106
|
console.log();
|
|
107
107
|
logger_1.logger.dim('Siguiente paso: plazbot agent chat -a ' + (result.agentId || '<agentId>'));
|
|
108
|
+
console.log();
|
|
108
109
|
if (options.dev) {
|
|
109
110
|
logger_1.logger.warning('Ambiente: desarrollo');
|
|
110
111
|
}
|
|
112
|
+
process.exit(0);
|
|
111
113
|
}
|
|
112
114
|
catch (error) {
|
|
113
115
|
const message = error instanceof Error ? error.message : 'Error desconocido al crear el agente';
|
package/package.json
CHANGED
|
@@ -77,11 +77,14 @@ export const createCommand = new Command('create')
|
|
|
77
77
|
|
|
78
78
|
console.log();
|
|
79
79
|
logger.dim('Siguiente paso: plazbot agent chat -a ' + (result.agentId || '<agentId>'));
|
|
80
|
+
console.log();
|
|
80
81
|
|
|
81
82
|
if (options.dev) {
|
|
82
83
|
logger.warning('Ambiente: desarrollo');
|
|
83
84
|
}
|
|
84
85
|
|
|
86
|
+
process.exit(0);
|
|
87
|
+
|
|
85
88
|
} catch (error) {
|
|
86
89
|
const message = error instanceof Error ? error.message : 'Error desconocido al crear el agente';
|
|
87
90
|
logger.error(message);
|