1 unstable release
0.1.0 | Jan 20, 2021 |
---|
#555 in #shell
5KB
70 lines
get-shell
A simple library to get the shell your binary is runned from
Installation
Add get-shell = "0.1.0"
to [dependencies]
section in your Cargo.toml
Usage
use get_shell::get_shell_name;
println!("{}", get_shell_name().unwrap());
Dependencies
~1–2.1MB
~45K SLoC