Directories
¶
| Path | Synopsis |
|---|---|
|
Package configcmd provides the shared `config` cobra command.
|
Package configcmd provides the shared `config` cobra command. |
|
Package configdir is the per-app config plumbing: the ~/.<app> directory, YAML load, atomic save, and single-key edits that preserve the rest of the file.
|
Package configdir is the per-app config plumbing: the ~/.<app> directory, YAML load, atomic save, and single-key edits that preserve the rest of the file. |
|
Package envopt resolves an option a flag may set and an environment variable may default: a typed flag wins, then the variable, then the flag's default.
|
Package envopt resolves an option a flag may set and an environment variable may default: a typed flag wins, then the variable, then the flag's 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 checks GitHub for a newer release and installs it by running the app's own installer (install.sh, or install.ps1 in PowerShell) with BIN_DIR set to the running binary's directory.
|
Package selfupdate checks GitHub for a newer release and installs it by running the app's own installer (install.sh, or install.ps1 in PowerShell) with BIN_DIR set to the running binary's directory. |
|
Package shellquote quotes strings and argument lists for a POSIX shell, and splits a quoted command line back into argv without running one.
|
Package shellquote quotes strings and argument lists for a POSIX shell, and splits a quoted command line back into argv without running one. |
|
Package stream runs a subprocess and relays its output line by line to a Reporter.
|
Package stream runs a subprocess and relays its output line by line to a Reporter. |
|
Package strutil holds small string and path helpers shared across the monorepo's apps.
|
Package strutil holds small string and path helpers shared across the monorepo's apps. |
|
Package sysopen opens paths in the OS file manager and URLs in the browser.
|
Package sysopen opens paths in the OS file manager and URLs in the browser. |
|
Package textfile reports whether a file holds text, judged by content rather than extension so files like Makefile and LICENSE count.
|
Package textfile reports whether a file holds text, judged by content rather than extension so files like Makefile and LICENSE count. |
Click to show internal directories.
Click to hide internal directories.