xn-intenton-z2a / repository0

A template for a self-evolving repository featuring LLM driven GitHub Actions Workflows.
MIT License
3 stars 0 forks source link

Add shell completion support for bash, zsh, and fish shells #2093

Closed github-actions[bot] closed 4 weeks ago

github-actions[bot] commented 4 weeks ago

Title: Add shell completion support for bash, zsh, and fish shells

Description: Extend the CLI in src/lib/main.js with a new completion subcommand that outputs valid shell completion scripts for supported shells. This feature will demonstrate an advanced CLI capability for our template and improve user experience by enabling tab completion.

Acceptance Criteria:

  1. Given process.argv = ['node', 'src/lib/main.js', 'completion', 'bash'], when main() is invoked, then it must print a valid bash completion script (e.g., complete -C 'repository0' repository0) to stdout and exit with code 0.
  2. Given process.argv = ['node', 'src/lib/main.js', 'completion', 'zsh'], when main() is invoked, then it must print a valid zsh completion snippet (e.g., #compdef repository0 _arguments '*') to stdout and exit with code 0.
  3. Given process.argv = ['node', 'src/lib/main.js', 'completion', 'fish'], when main() is invoked, then it must print a valid fish completion function (e.g., complete -c repository0 -f -a "(repository0 completion fish)") to stdout and exit with code 0.
  4. Given a missing or unsupported shell argument (e.g., completion or completion foo), when main() is invoked, then it must write a usage message Usage: completion [bash|zsh|fish] to stderr or stdout, and exit with a non-zero code.
  5. All new behaviors must be covered by unit tests in tests/unit/main.test.js and pass under npm test.
  6. Documentation in README.md under the CLI Usage section must include examples for invoking the completion subcommand and instructions on how to source the output for each shell.

Implementation Tasks:

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15098995175 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/16dda338d23ffc15e2a0ab9d41776499f878515f

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15098995175 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/16dda338d23ffc15e2a0ab9d41776499f878515f

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15098995175 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/16dda338d23ffc15e2a0ab9d41776499f878515f

github-actions[bot] commented 4 weeks ago

Workflow name: transformation-05-issue-to-ready-issue Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099384694 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/6cc9384ab35efb7a7d6e6ef7401bd8be0a7e9413

github-actions[bot] commented 4 weeks ago

This issue has been reviewed and marked as 'ready'. The description has been updated with testable acceptance criteria, and relevant library documents ([], 0 in total) have been added as comments.

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099476644 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/248fb4e55068efe4b36c38d6e6105fa1a55049ce

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099484565 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/248fb4e55068efe4b36c38d6e6105fa1a55049ce

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099504471 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/248fb4e55068efe4b36c38d6e6105fa1a55049ce

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-maintenance Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099504079 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/a5dbeab1e895fa7032c70d6c37b0302d455c3e05

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099700369 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099700369 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099700369 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099735124 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099744752 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099763119 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099784572 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/0afa637859e275f7aab1148354a460c0bbacf957

github-actions[bot] commented 4 weeks ago

Workflow name: ci-publish-web Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099820716 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/22ad1c8554d1a7ed00d6c76f8128b454e92eb87b

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099924747 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/51a6a3ff35255eddf75aa6d8dbd9e11bc4a67d88

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099934525 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/51a6a3ff35255eddf75aa6d8dbd9e11bc4a67d88

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15099961346 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/51a6a3ff35255eddf75aa6d8dbd9e11bc4a67d88

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100198204 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/b99058476cdecdcdf8a84526d484328bf76270bc

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100210014 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/b99058476cdecdcdf8a84526d484328bf76270bc

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100222508 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/b99058476cdecdcdf8a84526d484328bf76270bc

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100240270 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/b99058476cdecdcdf8a84526d484328bf76270bc

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100400629 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/fd173eff05c179c390a9900f206f116597ae0756

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100406553 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/fd173eff05c179c390a9900f206f116597ae0756

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100423290 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/fd173eff05c179c390a9900f206f116597ae0756

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100664144 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/7ff6e3ea10a95ec670b7e47da6bd5b5f684f8744

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100673979 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/521cde5e9b2742addfa152cb27f8d7e876491bf5

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100691509 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/521cde5e9b2742addfa152cb27f8d7e876491bf5

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100710164 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/521cde5e9b2742addfa152cb27f8d7e876491bf5

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100760661 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/a29b26ba97574cc36a43cc3ffce0a8fe22db1c4f

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100851450 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/86e258f33b657cf076bc2c3c63a07ea6521f2c45

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100867289 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/7be718eb5b325d898723bc5a51a3a132ca557e15

github-actions[bot] commented 4 weeks ago

Workflow name: flow-publish-stats Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100876926 Workflow event: workflow_run Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/7be718eb5b325d898723bc5a51a3a132ca557e15

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-maintenance Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15100877504 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/220a7c4a14879754217c6ed4f9cbdec0742957bf

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15101070438 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/3c66a62ce484415cdba7618f704c64e972594436

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15101070438 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/3c66a62ce484415cdba7618f704c64e972594436

github-actions[bot] commented 4 weeks ago

Workflow name: flow-feature-development Workflow run URL: https://github.com/xn-intenton-z2a/repository0/actions/runs/15101070438 Workflow event: schedule Workflow inputs: null HEAD of main URL: https://github.com/xn-intenton-z2a/repository0/commit/3c66a62ce484415cdba7618f704c64e972594436

github-actions[bot] commented 4 weeks ago

Add shell completion support for bash, zsh, and fish, along with tests and documentation

github-actions[bot] commented 4 weeks ago

https://github.com/xn-intenton-z2a/repository0/tree/agentic-lib-issue-2093

github-actions[bot] commented 4 weeks ago

agentic-lib-issue-2093 has Reached the limit of 2 attempts with 2 attempts.