mokout-cli 0.1.4 → 0.1.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 +0 -2
- package/dist/cli.js +2 -39
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -41,7 +41,6 @@ AGENTS.md → CLAUDE.md
|
|
|
41
41
|
.claude/settings.json
|
|
42
42
|
tasks/todo.md
|
|
43
43
|
tasks/lessons.md
|
|
44
|
-
.agents/skills/
|
|
45
44
|
```
|
|
46
45
|
|
|
47
46
|
**JavaScript** (`mokout project init --js`) — 9 files:
|
|
@@ -56,7 +55,6 @@ AGENTS.md → CLAUDE.md
|
|
|
56
55
|
.claude/settings.json
|
|
57
56
|
tasks/todo.md
|
|
58
57
|
tasks/lessons.md
|
|
59
|
-
.agents/skills/
|
|
60
58
|
```
|
|
61
59
|
|
|
62
60
|
## Usage
|
package/dist/cli.js
CHANGED
|
@@ -369,27 +369,7 @@ var CodeFastInitCommand = class extends Command {
|
|
|
369
369
|
});
|
|
370
370
|
await plop.getGenerator("code-fast-init").runActions({});
|
|
371
371
|
s.stop("Agent files added");
|
|
372
|
-
|
|
373
|
-
cloneSpinner.start("Adding agent-skills to .agents/skills");
|
|
374
|
-
try {
|
|
375
|
-
if (!exists(cwd, ".agents/skills")) {
|
|
376
|
-
run(
|
|
377
|
-
"git",
|
|
378
|
-
["clone", "--depth", "1", "https://github.com/addyosmani/agent-skills", ".agents/skills"],
|
|
379
|
-
cwd
|
|
380
|
-
);
|
|
381
|
-
remove(cwd, ".agents/skills/.git");
|
|
382
|
-
}
|
|
383
|
-
cloneSpinner.stop("Added agent-skills to .agents/skills");
|
|
384
|
-
} catch {
|
|
385
|
-
cloneSpinner.stop("Skipped agent-skills (offline?)");
|
|
386
|
-
}
|
|
387
|
-
p.note(
|
|
388
|
-
[...paths.map((f) => `\u2022 ${f}`), ...links.map((l) => `\u2022 ${l}`), "\u2022 .agents/skills/"].join(
|
|
389
|
-
"\n"
|
|
390
|
-
),
|
|
391
|
-
"Added"
|
|
392
|
-
);
|
|
372
|
+
p.note([...paths.map((f) => `\u2022 ${f}`), ...links.map((l) => `\u2022 ${l}`)].join("\n"), "Added");
|
|
393
373
|
p.outro("Done. CLAUDE.md holds the doctrine; AGENTS.md mirrors it for other agents.");
|
|
394
374
|
return 0;
|
|
395
375
|
}
|
|
@@ -491,25 +471,8 @@ ${RUFF_PYPROJECT}`);
|
|
|
491
471
|
});
|
|
492
472
|
await plop.getGenerator("init").runActions({});
|
|
493
473
|
s.stop("Files written");
|
|
494
|
-
const cloneSpinner = p2.spinner();
|
|
495
|
-
cloneSpinner.start("Adding agent-skills to .agents/skills");
|
|
496
|
-
try {
|
|
497
|
-
if (!exists(cwd, ".agents/skills")) {
|
|
498
|
-
run(
|
|
499
|
-
"git",
|
|
500
|
-
["clone", "--depth", "1", "https://github.com/addyosmani/agent-skills", ".agents/skills"],
|
|
501
|
-
cwd
|
|
502
|
-
);
|
|
503
|
-
remove(cwd, ".agents/skills/.git");
|
|
504
|
-
}
|
|
505
|
-
cloneSpinner.stop("Added agent-skills to .agents/skills");
|
|
506
|
-
} catch {
|
|
507
|
-
cloneSpinner.stop("Skipped agent-skills (offline?)");
|
|
508
|
-
}
|
|
509
474
|
p2.note(
|
|
510
|
-
[...paths.map((f) => `\u2022 ${f}`), ...links.map((l) => `\u2022 ${l}`)
|
|
511
|
-
"\n"
|
|
512
|
-
),
|
|
475
|
+
[...paths.map((f) => `\u2022 ${f}`), ...links.map((l) => `\u2022 ${l}`)].join("\n"),
|
|
513
476
|
`Scaffolded (${stack})`
|
|
514
477
|
);
|
|
515
478
|
p2.outro("Done. CLAUDE.md lists the project commands; AGENTS.md mirrors it.");
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mokout-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Quick scaffolding for agentic AI projects — uv/npm, Claude-ready CLAUDE.md, and modern tooling in one command.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"packageManager": "pnpm@8.15.6",
|
|
8
7
|
"author": "Mohan Tupakula <tmskoushik@gmail.com>",
|
|
9
8
|
"bin": {
|
|
10
9
|
"mokout": "dist/cli.js",
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
"typecheck": "tsc --noEmit",
|
|
25
24
|
"lint": "biome check .",
|
|
26
25
|
"format": "biome check --write .",
|
|
27
|
-
"prepublishOnly": "
|
|
26
|
+
"prepublishOnly": "npm run build"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
29
|
"@clack/prompts": "^0.7.0",
|