easc 0.0.25 → 0.0.26

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.ts CHANGED
@@ -8,9 +8,9 @@ import { update } from "./src/commands/update";
8
8
  cli(hideBin(process.argv))
9
9
  .scriptName("easc")
10
10
  .usage("$0 <command> [options]")
11
+ .command(update)
11
12
  .command(build)
12
13
  .command(buildRun)
13
- .command(update)
14
14
  .demandCommand(1, "")
15
15
  .help()
16
16
  .alias("help", "h")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easc",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "Expo App Services for Cloudflare - Deploy tool for Expo OTA updates to Cloudflare Workers",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/utils/cli.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import yargs, { type Argv, type CommandModule, type Options } from "yargs";
2
- import { select } from "@inquirer/prompts";
2
+ import { select, Separator } from "@inquirer/prompts";
3
3
  import chalk from "chalk";
4
4
 
5
5
  // Custom error to signal going back to menu
@@ -122,6 +122,7 @@ class InteractiveCLI {
122
122
  name: `${cmd.command.padEnd(12)} ${cmd.describe}`,
123
123
  value: cmd.command,
124
124
  })),
125
+ new Separator(),
125
126
  { name: "Exit", value: "exit" },
126
127
  ],
127
128
  });
@@ -193,6 +194,7 @@ class InteractiveCLI {
193
194
  message: `Select ${key.replace(/-/g, " ")}:`,
194
195
  choices: [
195
196
  ...opt.choices.map((c: string) => ({ name: c, value: c })),
197
+ new Separator(),
196
198
  { name: "← Back", value: "__back__" },
197
199
  ],
198
200
  });