@orth/cli 0.2.13 → 0.2.14

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.
@@ -33,8 +33,8 @@ async function searchCommand(query, options) {
33
33
  }
34
34
  console.log();
35
35
  }
36
- console.log(chalk_1.default.gray(`Run 'ortho api <slug>' to see all endpoints for an API`));
37
- console.log(chalk_1.default.gray(`Run 'ortho run <api> <path>' to call an endpoint`));
36
+ console.log(chalk_1.default.gray(`Run 'orth api <slug>' to see all endpoints for an API`));
37
+ console.log(chalk_1.default.gray(`Run 'orth run <api> <path>' to call an endpoint`));
38
38
  }
39
39
  catch (error) {
40
40
  spinner.stop();
package/dist/index.js CHANGED
@@ -240,7 +240,7 @@ skillsGroup
240
240
  // ─────────────────────────────────────────────────────────────────────────────
241
241
  program
242
242
  .command("search <query>")
243
- .description("Search for APIs (alias for 'ortho api search')")
243
+ .description("Search for APIs (alias for 'orth api search')")
244
244
  .option("-l, --limit <number>", "Max results", "10")
245
245
  .action(asyncAction(async (query, options) => {
246
246
  (0, analytics_js_1.trackEvent)("search", { query });
@@ -248,7 +248,7 @@ program
248
248
  }));
249
249
  program
250
250
  .command("run <api> <path>")
251
- .description("Call an API endpoint (alias for 'ortho api run')")
251
+ .description("Call an API endpoint (alias for 'orth api run')")
252
252
  .option("-X, --method <method>", "HTTP method", "GET")
253
253
  .option("-q, --query <params...>", "Query params (key=value)")
254
254
  .option("-b, --body <json>", "Request body JSON")
@@ -261,7 +261,7 @@ program
261
261
  }));
262
262
  program
263
263
  .command("code <api> <path>")
264
- .description("Generate integration code (alias for 'ortho api code')")
264
+ .description("Generate integration code (alias for 'orth api code')")
265
265
  .option("-l, --lang <language>", "Language: typescript, python, curl", "typescript")
266
266
  .action(asyncAction(async (api, path, options) => {
267
267
  (0, analytics_js_1.trackEvent)("code", { api, path });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orth/cli",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "CLI to access all APIs and skills on the Orthogonal platform",
5
5
  "main": "dist/index.js",
6
6
  "bin": {