internal/

directory
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: MIT

Directories

Path Synopsis
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).
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.
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.
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.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL