Documentation
¶
Overview ¶
Command gh-custom-properties is a terminal UI for viewing, adding, editing, and deleting GitHub custom properties on a repo, or across a batch of repos listed in a file.
Directories
¶
| Path | Synopsis |
|---|---|
|
docs
|
|
|
gendocs
command
Command gendocs regenerates docs/gh-custom-properties.1 (man page) and docs/gh-custom-properties.html (HTML help) from the CLI spec in internal/clidoc, so the two never drift from what -h/--help prints.
|
Command gendocs regenerates docs/gh-custom-properties.1 (man page) and docs/gh-custom-properties.html (HTML help) from the CLI spec in internal/clidoc, so the two never drift from what -h/--help prints. |
|
internal
|
|
|
backup
Package backup writes timestamped JSON snapshots of custom-property values before they are overwritten, so an operator can recover the prior state of a repo (or a whole batch run) after applying a change.
|
Package backup writes timestamped JSON snapshots of custom-property values before they are overwritten, so an operator can recover the prior state of a repo (or a whole batch run) after applying a change. |
|
browser
Package browser builds github.com URLs for a repository and opens them in the user's default web browser.
|
Package browser builds github.com URLs for a repository and opens them in the user's default web browser. |
|
clidoc
Package clidoc is the single source of truth for gh-custom-properties' command-line surface: main.go renders it as the -h/--help text, and docs/gendocs renders it as the man page and HTML help file, so the three never drift apart.
|
Package clidoc is the single source of truth for gh-custom-properties' command-line surface: main.go renders it as the -h/--help text, and docs/gendocs renders it as the man page and HTML help file, so the three never drift apart. |
|
config
Package config loads gh-custom-properties settings from $HOME/.gh-custom-properties/config (a simple key=value file), then lets environment variables and finally command-line flags override those defaults, in that order.
|
Package config loads gh-custom-properties settings from $HOME/.gh-custom-properties/config (a simple key=value file), then lets environment variables and finally command-line flags override those defaults, in that order. |
|
ghclient
Package ghclient talks to the GitHub REST API for custom repository properties.
|
Package ghclient talks to the GitHub REST API for custom repository properties. |
|
headless
Package headless implements the non-interactive --list and --set modes of the CLI: print a repo's custom properties, and/or update some of them, without starting the TUI.
|
Package headless implements the non-interactive --list and --set modes of the CLI: print a repo's custom properties, and/or update some of them, without starting the TUI. |
|
knownprops
Package knownprops adds Elsevier-specific input validation for custom properties whose format GitHub's schema can't express.
|
Package knownprops adds Elsevier-specific input validation for custom properties whose format GitHub's schema can't express. |
|
repolist
Package repolist parses the --file argument for batch mode: a plain text file listing one GitHub repo per line.
|
Package repolist parses the --file argument for batch mode: a plain text file listing one GitHub repo per line. |
|
termkeys
Package termkeys optionally enables a terminal's Kitty keyboard protocol disambiguation flag, so Alt+letter keypresses arrive as a distinct key event on terminals that support it (kitty, WezTerm, Ghostty, and newer iTerm2 builds).
|
Package termkeys optionally enables a terminal's Kitty keyboard protocol disambiguation flag, so Alt+letter keypresses arrive as a distinct key event on terminals that support it (kitty, WezTerm, Ghostty, and newer iTerm2 builds). |
|
tui
Package tui implements the Bubble Tea interface for viewing, adding, editing, and deleting GitHub custom repository properties, either for a single repo or across a batch of repos loaded from a file.
|
Package tui implements the Bubble Tea interface for viewing, adding, editing, and deleting GitHub custom repository properties, either for a single repo or across a batch of repos loaded from a file. |
Click to show internal directories.
Click to hide internal directories.