Retrieve the current user and environment through simple functions.
- [x] Get the user's full name
- [x] Get the user's username
- [x] Get the user's preferred language(s)
- [x] Get the devices's hostname
- [ ] Some unimplemented TODO
Add this package to current project and import.
import Whoami
func main() {
let host = Whoami.hostName
print("Current host: \(host)")
}