Github
@taylor/githubv2026.10.11.1
01README
Make sure a GitHub repository exists: create it if it's missing (for your account or an organization, public or private), otherwise report it without changing its settings. Uses the GitHub CLI's existing login, so no token goes in a vault.
02Behaviors
@taylor/github/repov2026.10.11.1github_repo.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| owner | string | User or organization that owns the repository |
| name | string | Repository name |
| ghPath? | string | GitHub CLI binary |
fn ensure(description?: string, visibility?: enum)
Create the repository if it doesn't exist; otherwise report it unchanged
| Argument | Type | Description |
|---|---|---|
| description? | string | Description for a new repository |
| visibility? | enum | Visibility for a new repository. An existing repository keeps its own; a difference is reported as a warning. |
Resources
repo(infinite)— The repository as GitHub reports it (instance repo)
03Stats
A
93 / 100
Downloads
1
Archive size
17.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned
Repository
https://github.com/taylorific/swampworksdeno-command1 accepted
Spawns a subprocess with Deno.Command().
- models/github_repo.ts:73 — runs gh api from the GitHub CLI; argument lists are built in this file, see README What it runs
05Platforms
06Labels