Skip to main content

Crate ytil_sys

Crate ytil_sys 

Source
Expand description

System helpers: args, paths, symlinks, permissions, clipboard.

Re-exports§

pub use pico_args;

Modules§

cli
dir
file
lsof
rm

Structs§

SysInfo

Enums§

Arch
Os

Functions§

join
Joins a thread handle and returns the result.
open
Opens the given argument using the system’s default app (open on macOS).
run
Runs f and, on error, prints the report in bold red to stderr then exits with code 1.

Attribute Macros§

main
Wraps fn main() -> rootcause::Result<()> into ytil_sys::run so errors print in bold red.