@orth/cli 0.2.17 → 0.2.18

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.
@@ -20,6 +20,7 @@ export declare function skillsInitCommand(name: string | undefined, options: {
20
20
  export declare function skillsSubmitCommand(inputPath: string | undefined, options: {
21
21
  name?: string;
22
22
  tags?: string;
23
+ org?: string;
23
24
  }): Promise<void>;
24
25
  export declare function skillsPushCommand(slug: string, inputPath: string | undefined, options: {
25
26
  name?: string;
@@ -556,6 +556,7 @@ async function skillsSubmitCommand(inputPath, options) {
556
556
  })),
557
557
  tags,
558
558
  discoverable: false,
559
+ ...(options.org ? { organizationId: options.org } : {}),
559
560
  },
560
561
  });
561
562
  spinner.stop();
package/dist/index.js CHANGED
@@ -174,6 +174,7 @@ skillsGroup
174
174
  .description("Submit a local skill to the Orthogonal platform")
175
175
  .option("-n, --name <name>", "Override skill name from frontmatter")
176
176
  .option("-t, --tags <tags>", "Comma-separated tags")
177
+ .option("--org <orgId>", "Submit to an organization instead of personal account")
177
178
  .action(asyncAction(async (inputPath, options) => {
178
179
  (0, analytics_js_1.trackEvent)("skills.submit", { path: inputPath });
179
180
  await (0, skills_js_1.skillsSubmitCommand)(inputPath, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orth/cli",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "CLI to access all APIs and skills on the Orthogonal platform",
5
5
  "main": "dist/index.js",
6
6
  "bin": {