Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environment variables

Introduced in toot v0.40.0

Toot allows setting defaults for parameters via environment variables.

Environment variables should be named TOOT_<COMMAND_NAME>_<OPTION_NAME>.

Examples

Command with optionEnvironment variable
toot --colorTOOT_COLOR=true
toot --no-colorTOOT_COLOR=false
toot post --editor vimTOOT_POST_EDITOR=vim
toot post --visibility unlistedTOOT_POST_VISIBILITY=unlisted
toot tui --media-viewer fehTOOT_TUI_MEDIA_VIEWER=feh

Note that these can also be set via the settings file.