get-shell

Crates.ioget-shell
lib.rsget-shell
version0.1.0
created_at2021-01-20 20:26:08.931456+00
updated_at2021-01-20 20:26:08.931456+00
descriptionA simple library to get the shell your binary is runned from
homepage
repositoryhttps://gitlab.com/johnmeow/is-root
max_upload_size
id344626
size5,739
Mg. Tau (magistau)

documentation

README

get-shell

Downloads License crates.io docs.rs 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());
Commit count: 0

cargo fmt