@cruxgarden/cli 0.0.5 → 0.0.6

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/bin/crux.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  logsNursery,
13
13
  cleanNursery,
14
14
  purgeNursery,
15
- pullNursery,
15
+ updateNursery,
16
16
  resetNursery,
17
17
  connectNurseryDb,
18
18
  connectNurseryRedis,
@@ -80,9 +80,9 @@ nursery
80
80
  .action(purgeNursery);
81
81
 
82
82
  nursery
83
- .command("pull")
84
- .description("Pull the latest API image from ghcr.io")
85
- .action(pullNursery);
83
+ .command("update")
84
+ .description("Download the latest API image from ghcr.io")
85
+ .action(updateNursery);
86
86
 
87
87
  nursery
88
88
  .command("reset")
package/lib/commands.js CHANGED
@@ -315,16 +315,16 @@ export async function purgeNursery() {
315
315
  console.log();
316
316
  }
317
317
 
318
- export async function pullNursery() {
318
+ export async function updateNursery() {
319
319
  const spinner = ora(
320
- "Pulling latest Crux Garden API image from ghcr.io...",
320
+ "Downloading latest Crux Garden API image from ghcr.io...",
321
321
  ).start();
322
322
 
323
323
  await runCommandAsync("docker-compose -f docker-compose.nursery.yml pull", {
324
324
  silent: true,
325
325
  });
326
326
 
327
- spinner.succeed("Latest nursery image pulled!");
327
+ spinner.succeed("Latest nursery image downloaded!");
328
328
  console.log(
329
329
  chalk.gray("Run"),
330
330
  chalk.cyan("crux nursery restart"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cruxgarden/cli",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Crux Garden CLI",
5
5
  "type": "module",
6
6
  "bin": {