Skip to main content

view

Function view 

Source
pub const fn view(format: OutputFormat) -> View
Available on crate features shell and view only.
Expand description

The view a shell verb prints its Script through: format, no colour, and never quiet.

The script is the verb’s whole result. source <(toy completion zsh) or eval "$(toy init zsh)" would load nothing if --quiet or a quiet variable hid it. Route the verb here from App::view.