1 unstable release
0.1.0 | Jan 20, 2021 |
---|
#522 in #shell
32 downloads per month
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–2MB
~42K SLoC