#user-name #command-line #user #desktop-environment #platform #detect #whoami

app whome

A command line program for detecting the current user’s name and environment. A rust replacement for whoami and hostname with added features.

8 releases (5 breaking)

0.6.0 Mar 4, 2024
0.5.0 Mar 19, 2023
0.4.0 Dec 31, 2020
0.3.0 Jun 25, 2020
0.1.1 Jan 12, 2019

#185 in Unix APIs

Download history 11/week @ 2024-09-24 3/week @ 2024-10-01

165 downloads per month

Apache-2.0 OR MIT OR BSL-1.0

14KB
129 lines

WhoAmI Logo

Changelog | Source | Getting Started

tests docs crates.io

A command line program for detecting the current user's name and environment. A rust replacement for whoami and hostname with added features.

Documentation

Documentation on how to use whome can be found by running:

whome --help

Features

  • Get the user's full name
  • Get the user's username
  • Get the devices's hostname
  • Get the devices's "pretty" or "fancy" name
  • Get the devices's desktop environment
  • Get the devices's OS name and version
  • Get the devices's platform name

Supported Platforms

Who Me? will at least work on:

  • Linux
  • Windows
  • Mac OS
  • Web Assembly
  • BSD

Install / Update

To install / update from crates.io, do:

cargo install whome

License

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this project, feel free to send me an email at aldaronlau@gmail.com.

Dependencies

~230–710KB
~11K SLoC