@apicircle/cli 1.0.5 → 1.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/README.md CHANGED
@@ -45,7 +45,10 @@ npm install -g @apicircle/cli
45
45
  npx @apicircle/cli --help
46
46
  ```
47
47
 
48
- Single command, single binary: `apicircle`.
48
+ Single command, single binary: `apicircle`. Top-level `--version` /
49
+ `-v` / `-V` and `--help` / `-h` are handled by the binary itself, so
50
+ `apicircle --version` prints the package version without booting a
51
+ subcommand.
49
52
 
50
53
  ## What you can do with it
51
54
 
package/dist/bin/cli.cjs CHANGED
@@ -37,7 +37,7 @@ var init_package = __esm({
37
37
  "package.json"() {
38
38
  package_default = {
39
39
  name: "@apicircle/cli",
40
- version: "1.0.5",
40
+ version: "1.0.6",
41
41
  private: false,
42
42
  type: "module",
43
43
  description: "Command-line interface for API Circle Studio. Run mock servers, drive the MCP server, and import OpenAPI / Postman / Insomnia collections from any terminal.",
@@ -500,7 +500,7 @@ function registerMcpCommand(program) {
500
500
  "--workspace-name <name-or-id>",
501
501
  "Registry workspace name (case-insensitive) or id. Defaults to the active workspace."
502
502
  ).option(
503
- "--workspace-path <dir>",
503
+ "-w, --workspace-path <dir>",
504
504
  "Filesystem directory containing workspace.synced.json (skips the registry)."
505
505
  ).action(async (opts) => {
506
506
  let dir;
@@ -555,7 +555,7 @@ function registerImportCommand(program) {
555
555
  "--workspace-name <name-or-id>",
556
556
  "Registry workspace name (case-insensitive) or id. Defaults to the active workspace."
557
557
  ).option(
558
- "--workspace-path <dir>",
558
+ "-w, --workspace-path <dir>",
559
559
  "Filesystem directory containing workspace.synced.json (skips the registry)."
560
560
  ).option("-f, --format <format>", "OpenAPI format: json | yaml", "json").action(async (type, input, opts) => {
561
561
  let dir;
@@ -1016,7 +1016,7 @@ function registerRunCommand(program) {
1016
1016
  "--workspace-name <name-or-id>",
1017
1017
  "Registry workspace name (case-insensitive) or id. Defaults to the active workspace."
1018
1018
  ).option(
1019
- "--workspace-path <dir>",
1019
+ "-w, --workspace-path <dir>",
1020
1020
  "Filesystem directory containing workspace.synced.json (skips the registry)."
1021
1021
  ).option("--no-assertions", "Run requests without evaluating their assertions").option("-s, --secrets <file>", "JSON file mapping secretKeyId \u2192 plaintext value").option("--no-save", "Do not write the plan run to workspace history").option("--reporter <format>", "Report format: text | json | junit", "text").option("--bail", "Stop the run at the first failed step").option("-e, --env <name>", "Layer a local environment on top of the run").option("--as <actor>", "Override the recorded runner identity").action(async (planRef, opts) => {
1022
1022
  let dir;