Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd builds the webtor CLI command tree.
|
Package cmd builds the webtor CLI command tree. |
|
internal
|
|
|
config
Package config loads and saves the CLI's configuration: named contexts in config.yaml (shareable) and secrets in credentials.yaml (0600), both under $XDG_CONFIG_HOME/webtor (~/.config/webtor by default).
|
Package config loads and saves the CLI's configuration: named contexts in config.yaml (shareable) and secrets in credentials.yaml (0600), both under $XDG_CONFIG_HOME/webtor (~/.config/webtor by default). |
|
exitcode
Package exitcode maps SDK errors onto the CLI's exit codes and friendly messages, so scripts can branch on the class of failure.
|
Package exitcode maps SDK errors onto the CLI's exit codes and friendly messages, so scripts can branch on the class of failure. |
|
picker
Package picker is the CLI's interactive list chooser: a numbered table on stderr, a prompt on stdin.
|
Package picker is the CLI's interactive list chooser: a numbered table on stderr, a prompt on stdin. |
|
render
Package render produces the CLI's output: aligned human tables on a TTY, raw JSON with --json, and progress that degrades to plain lines when piped.
|
Package render produces the CLI's output: aligned human tables on a TTY, raw JSON with --json, and progress that degrades to plain lines when piped. |
|
testapi
Package testapi is an in-process fake of the webtor API used by the CLI's testscript suite.
|
Package testapi is an in-process fake of the webtor API used by the CLI's testscript suite. |
|
wizard
Package wizard is the rclone-style first-run dialog: pick a backend, get authenticated, write the config.
|
Package wizard is the rclone-style first-run dialog: pick a backend, get authenticated, write the config. |
Click to show internal directories.
Click to hide internal directories.