Skip to main content

Crate snix_cli

Crate snix_cli 

Source

Constants§

DEFAULT_LIBEXEC_PATH_VAR

Functions§

find_command
Search for a snix sub-command.
make_listener
Builds a listener. We want to always set sleep_on_errors = true to avoid server errors when running low on file handles. sleep_on_errors became the default in hyper, but is not yet flipped in tokio-listener.
make_search_path
Make an os-specific search path.
reader_for_path
Opens a given path, with special-casing for - as stdin.
shutdown_signal
future that listens to both ctrl-c and sigterm.

Type Aliases§

SnixCliResult