#user #username #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.

6 releases (3 breaking)

0.4.0 Dec 31, 2020
0.3.0 Jun 25, 2020
0.2.1 Feb 21, 2020
0.2.0 Mar 17, 2019
0.1.1 Jan 12, 2019

#12 in macOS APIs

Apache-2.0 OR MIT OR BSL-1.0

14KB
123 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

~0.2–1.5MB
~29K SLoC