@orth/cli 0.2.13 → 0.2.15
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/commands/search.js +2 -2
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/commands/search.js
CHANGED
|
@@ -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 '
|
|
37
|
-
console.log(chalk_1.default.gray(`Run '
|
|
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
|
@@ -214,6 +214,7 @@ skillsGroup
|
|
|
214
214
|
}));
|
|
215
215
|
skillsGroup
|
|
216
216
|
.command("add <slug>")
|
|
217
|
+
.alias("install")
|
|
217
218
|
.description("Add a skill to your local agent skills directories")
|
|
218
219
|
.option("--agent <agent>", "Install for specific agent only (cursor, claude, copilot)")
|
|
219
220
|
.action(asyncAction(async (slug, options) => {
|
|
@@ -240,7 +241,7 @@ skillsGroup
|
|
|
240
241
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
241
242
|
program
|
|
242
243
|
.command("search <query>")
|
|
243
|
-
.description("Search for APIs (alias for '
|
|
244
|
+
.description("Search for APIs (alias for 'orth api search')")
|
|
244
245
|
.option("-l, --limit <number>", "Max results", "10")
|
|
245
246
|
.action(asyncAction(async (query, options) => {
|
|
246
247
|
(0, analytics_js_1.trackEvent)("search", { query });
|
|
@@ -248,7 +249,7 @@ program
|
|
|
248
249
|
}));
|
|
249
250
|
program
|
|
250
251
|
.command("run <api> <path>")
|
|
251
|
-
.description("Call an API endpoint (alias for '
|
|
252
|
+
.description("Call an API endpoint (alias for 'orth api run')")
|
|
252
253
|
.option("-X, --method <method>", "HTTP method", "GET")
|
|
253
254
|
.option("-q, --query <params...>", "Query params (key=value)")
|
|
254
255
|
.option("-b, --body <json>", "Request body JSON")
|
|
@@ -261,7 +262,7 @@ program
|
|
|
261
262
|
}));
|
|
262
263
|
program
|
|
263
264
|
.command("code <api> <path>")
|
|
264
|
-
.description("Generate integration code (alias for '
|
|
265
|
+
.description("Generate integration code (alias for 'orth api code')")
|
|
265
266
|
.option("-l, --lang <language>", "Language: typescript, python, curl", "typescript")
|
|
266
267
|
.action(asyncAction(async (api, path, options) => {
|
|
267
268
|
(0, analytics_js_1.trackEvent)("code", { api, path });
|