@arkhera30/cli 0.3.7 → 0.3.8
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 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1638,7 +1638,7 @@ ${example(`${vaultName.trim()}-knowledge`)}
|
|
|
1638
1638
|
console.log("");
|
|
1639
1639
|
console.log(chalk2.bold("Starting Horus services..."));
|
|
1640
1640
|
try {
|
|
1641
|
-
await composeStreaming(runtime, ["up", "-d"]);
|
|
1641
|
+
await composeStreaming(runtime, ["up", "-d", "--remove-orphans"]);
|
|
1642
1642
|
} catch (error) {
|
|
1643
1643
|
console.log(chalk2.red("Failed to start services."));
|
|
1644
1644
|
console.log(chalk2.dim(error.message));
|
|
@@ -1744,7 +1744,7 @@ var upCommand = new Command3("up").description("Start the Horus stack").option("
|
|
|
1744
1744
|
console.log("");
|
|
1745
1745
|
console.log(chalk3.bold("Starting Horus services..."));
|
|
1746
1746
|
try {
|
|
1747
|
-
const upArgs = opts.pull ? ["up", "-d", "--force-recreate"] : ["up", "-d"];
|
|
1747
|
+
const upArgs = opts.pull ? ["up", "-d", "--force-recreate", "--remove-orphans"] : ["up", "-d", "--remove-orphans"];
|
|
1748
1748
|
await composeStreaming(runtime, upArgs);
|
|
1749
1749
|
} catch (error) {
|
|
1750
1750
|
console.log(chalk3.red("Failed to start services."));
|
|
@@ -2144,7 +2144,7 @@ var updateCommand = new Command7("update").description("Update Horus to the late
|
|
|
2144
2144
|
console.log("");
|
|
2145
2145
|
console.log(chalk7.bold("Restarting from snapshot (using cached images)..."));
|
|
2146
2146
|
try {
|
|
2147
|
-
await composeStreaming(runtime, ["up", "-d"]);
|
|
2147
|
+
await composeStreaming(runtime, ["up", "-d", "--remove-orphans"]);
|
|
2148
2148
|
} catch (error) {
|
|
2149
2149
|
console.log(chalk7.red("Failed to restart services."));
|
|
2150
2150
|
console.log(chalk7.dim(error.message));
|
|
@@ -2222,7 +2222,7 @@ var updateCommand = new Command7("update").description("Update Horus to the late
|
|
|
2222
2222
|
console.log("");
|
|
2223
2223
|
console.log(chalk7.bold("Restarting services..."));
|
|
2224
2224
|
try {
|
|
2225
|
-
await composeStreaming(runtime, ["up", "-d", "--force-recreate"]);
|
|
2225
|
+
await composeStreaming(runtime, ["up", "-d", "--force-recreate", "--remove-orphans"]);
|
|
2226
2226
|
} catch (error) {
|
|
2227
2227
|
console.log(chalk7.red("Failed to restart services."));
|
|
2228
2228
|
console.log(chalk7.dim(error.message));
|