[PATCH v6 2/2] whoami: Refactor and add more commands.