whoami 0.2.2

Retrieve the current user and environment.
Documentation

Whoami

A library and program that gets the current user.

Cargo / Documentation / Change Log

Installing

Install with cargo install --features="term" --force.

Features

whoami's features:

  • Get the user's full name
  • Get the user's username
  • Get the computer's hostname
  • Get the computer's fancy name
  • Get the computer's desktop environment
  • Get the computer's OS name and version

Support

whoami's current support:

  • Linux
  • Windows

whoami's planned support:

  • No OS
  • Nintendo Switch
  • Mac OS
  • Wasm (Web Assembly)
  • Probably others

Contributing

If you'd like to help implement functions for unsupported platforms, fix bugs, improve the API or improve the Documentation, then contact me at jeron.lau@plopgrizzly.com. I'll appreciate any help.