zerocut-cli 0.3.1 → 0.3.2

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.
@@ -16,6 +16,10 @@ function printSkill(relativePath) {
16
16
  if (!content.endsWith("\n")) {
17
17
  process.stdout.write("\n");
18
18
  }
19
+ const outputPath = node_path_1.default.resolve(process.cwd(), "zerocut-cli/SKILL.md");
20
+ node_fs_1.default.mkdirSync(node_path_1.default.dirname(outputPath), { recursive: true });
21
+ node_fs_1.default.writeFileSync(outputPath, content, "utf8");
22
+ process.stderr.write(`Saved skill markdown to ${outputPath}\n`);
19
23
  }
20
24
  function register(program) {
21
25
  const parent = program.command("skill").description("Print built-in skill markdown");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zerocut-cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "ZeroCut CLI: AI assistant CLI for creating and editing images/audio/video",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,5 +33,8 @@ export function register(program: Command): void {
33
33
 
34
34
  parent.action(() => {
35
35
  printSkill("../skill/SKILL.md");
36
+ process.stdout.write(
37
+ "\nPlease save the markdown above to zerocut/SKILL.md to create the skill.\n"
38
+ );
36
39
  });
37
40
  }