Directories
¶
| Path | Synopsis |
|---|---|
|
Package configcmd provides the shared `config` Cobra command used by the CLI applications.
|
Package configcmd provides the shared `config` Cobra command used by the CLI applications. |
|
Package configdir is the small layer of per-app config plumbing the monorepo apps kept duplicating: the hidden ~/.<app> directory convention, YAML load where a missing file is not an error, an atomic save that can't truncate a working config on failure, and a surgical single-key edit that leaves the rest of the user's file alone.
|
Package configdir is the small layer of per-app config plumbing the monorepo apps kept duplicating: the hidden ~/.<app> directory convention, YAML load where a missing file is not an error, an atomic save that can't truncate a working config on failure, and a surgical single-key edit that leaves the rest of the user's file alone. |
|
Package envopt resolves a command-line option that a flag may set and an environment variable may default.
|
Package envopt resolves a command-line option that a flag may set and an environment variable may default. |
|
Package executil builds subprocesses with the same argv-oriented interface as os/exec while also handling Windows batch-file launchers.
|
Package executil builds subprocesses with the same argv-oriented interface as os/exec while also handling Windows batch-file launchers. |
|
Package selfupdate implements the shared self-update mechanism for the brohd11 Go apps: check GitHub for a newer release and, when one exists, install it by running the same installer the READMEs tell users to fetch — install.sh under sh on Unix, or the documented Invoke-RestMethod flow under PowerShell on Windows — with BIN_DIR pointed at the running binary's directory so the update lands in place, and --no-modify-path so an installed binary is never asked about PATH again.
|
Package selfupdate implements the shared self-update mechanism for the brohd11 Go apps: check GitHub for a newer release and, when one exists, install it by running the same installer the READMEs tell users to fetch — install.sh under sh on Unix, or the documented Invoke-RestMethod flow under PowerShell on Windows — with BIN_DIR pointed at the running binary's directory so the update lands in place, and --no-modify-path so an installed binary is never asked about PATH again. |
|
Package shellquote renders strings and argument lists for a POSIX shell.
|
Package shellquote renders strings and argument lists for a POSIX shell. |
|
Package stream runs a subprocess and relays its output to a caller-supplied reporter one line at a time as it arrives.
|
Package stream runs a subprocess and relays its output to a caller-supplied reporter one line at a time as it arrives. |
|
Package strutil holds the tiny string and path helpers that every app in the monorepo ended up hand-rolling for itself — plural selection, home-dir expansion, path depth — so the next app doesn't roll a fourth copy.
|
Package strutil holds the tiny string and path helpers that every app in the monorepo ended up hand-rolling for itself — plural selection, home-dir expansion, path depth — so the next app doesn't roll a fourth copy. |
|
Package sysopen hands filesystem paths to the operating system's file manager, and URLs to its browser.
|
Package sysopen hands filesystem paths to the operating system's file manager, and URLs to its browser. |
|
Package textfile answers one question about a path: does it hold text, or bytes no editor should be pointed at?
|
Package textfile answers one question about a path: does it hold text, or bytes no editor should be pointed at? |
Click to show internal directories.
Click to hide internal directories.