pipely-ai 1.2.0 → 1.3.0
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/index.js +8 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -963,6 +963,11 @@ async function install() {
|
|
|
963
963
|
const os = detectOS();
|
|
964
964
|
console.log(` Sistema: ${c.bold}${os.label}${c.reset} (${os.arch})\n`);
|
|
965
965
|
|
|
966
|
+
if (forceLocal) {
|
|
967
|
+
console.log(` Modo: ${c.cyan}Local (--local)${c.reset}\n`);
|
|
968
|
+
return installLocal();
|
|
969
|
+
}
|
|
970
|
+
|
|
966
971
|
process.stdout.write(` Verificando Docker... `);
|
|
967
972
|
const docker = checkDocker();
|
|
968
973
|
|
|
@@ -1186,8 +1191,9 @@ function isLocalMode() {
|
|
|
1186
1191
|
// ══════════════════════════════════════════════════════
|
|
1187
1192
|
|
|
1188
1193
|
const args = process.argv.slice(2);
|
|
1189
|
-
const
|
|
1190
|
-
const
|
|
1194
|
+
const forceLocal = args.includes("--local");
|
|
1195
|
+
const command = args.filter((a) => a !== "--local")[0];
|
|
1196
|
+
const local = forceLocal || isLocalMode();
|
|
1191
1197
|
|
|
1192
1198
|
switch (command) {
|
|
1193
1199
|
case "status":
|