mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
feat: add work items CLI
This commit is contained in:
parent
8926ea925e
commit
b1e67788f7
8 changed files with 421 additions and 2 deletions
|
|
@ -71,6 +71,7 @@ function main() {
|
|||
assert.match(result.stdout, /auto-update/);
|
||||
assert.match(result.stdout, /consult/);
|
||||
assert.match(result.stdout, /loop-status/);
|
||||
assert.match(result.stdout, /work-items/);
|
||||
}],
|
||||
['delegates explicit install command', () => {
|
||||
const result = runCli(['install', '--dry-run', '--json', 'typescript']);
|
||||
|
|
@ -201,6 +202,11 @@ function main() {
|
|||
assert.strictEqual(result.status, 0, result.stderr);
|
||||
assert.match(result.stdout, /node scripts\/consult\.js "security reviews"/);
|
||||
}],
|
||||
['supports help for the work-items subcommand', () => {
|
||||
const result = runCli(['help', 'work-items']);
|
||||
assert.strictEqual(result.status, 0, result.stderr);
|
||||
assert.match(result.stdout, /node scripts\/work-items\.js upsert/);
|
||||
}],
|
||||
['fails on unknown commands instead of treating them as installs', () => {
|
||||
const result = runCli(['bogus']);
|
||||
assert.strictEqual(result.status, 1);
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ function buildExpectedPublishPaths(repoRoot) {
|
|||
"scripts/doctor.js",
|
||||
"scripts/status.js",
|
||||
"scripts/sessions-cli.js",
|
||||
"scripts/work-items.js",
|
||||
"scripts/install-apply.js",
|
||||
"scripts/install-plan.js",
|
||||
"scripts/list-installed.js",
|
||||
|
|
@ -110,6 +111,7 @@ function main() {
|
|||
for (const requiredPath of [
|
||||
"scripts/catalog.js",
|
||||
"scripts/consult.js",
|
||||
"scripts/work-items.js",
|
||||
".gemini/GEMINI.md",
|
||||
".qwen/QWEN.md",
|
||||
".claude-plugin/plugin.json",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue