Skip to content

Add generic GitHub CLI Bash helpers#116

Merged
codeforester merged 1 commit into
mainfrom
enhancement/115-20260704-gh-cli-helpers
Jul 5, 2026
Merged

Add generic GitHub CLI Bash helpers#116
codeforester merged 1 commit into
mainfrom
enhancement/115-20260704-gh-cli-helpers

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add lib/bash/gh/lib_gh.sh with generic GitHub CLI readiness, auth diagnostics, failure reporting, and checked command execution helpers.
  • Document the new gh library and include it in package validation and warning-level linting.
  • Add BATS coverage using fake gh binaries for success, missing command, auth failure, and command failure paths.

Fixes #115

Validation

  • bats lib/bash/gh/tests/lib_gh.bats
  • shellcheck --severity=error lib/bash/gh/lib_gh.sh lib/bash/gh/tests/lib_gh.bats
  • ./tests/validate.sh
  • tests/lint-warnings.sh

@codeforester codeforester force-pushed the enhancement/115-20260704-gh-cli-helpers branch from 4e68532 to 1d736df Compare July 5, 2026 00:42
@codeforester codeforester merged commit 8bcc1d2 into main Jul 5, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/115-20260704-gh-cli-helpers branch July 5, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add generic GitHub CLI Bash helpers

1 participant