get-shell

Crates.ioget-shell
lib.rsget-shell
version0.1.0
sourcesrc
created_at2021-01-20 20:26:08.931456
updated_at2021-01-20 20:26:08.931456
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
Alice Carroll (thecaralice)

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: 24

cargo fmt