'##::::'##::'######::'########:'########::
##:::: ##:'##... ##: ##.....:: ##.... ##:
##:::: ##: ##:::..:: ##::::::: ##:::: ##:
##:::: ##:. ######:: ######::: ########::
##:::: ##::..... ##: ##...:::: ##.. ##:::
##:::: ##:'##::: ##: ##::::::: ##::. ##::
. #######::. ######:: ########: ##:::. ##:
:.......::::......:::........::..:::::..::
user is a command line interface for common macOS user account operations,
like fast user switching, listing users, and displaying the user login window.
To install with Homebrew:
brew taps xwmx/taps
brew install userTo install with npm:
npm install --global user-cliTo install with bpkg:
bpkg install xwmx/userTo install manually, simply add the user script to your $PATH. If
you already have a ~/bin directory, you can use the following command:
curl -L https://raw.github.com/xwmx/user/master/user \
-o ~/bin/user && chmod +x ~/bin/userUsage:
user list
user login <username>
user logout [--force]
user window
user -h | --help
user --version
Subcommands:
list List login user accounts.
login Log in as the specified user, aka "Fast User Switching."
logout Log out the current user.
window Go to the login window without logging out.
Options:
-h --help Display this help information.
--version Display version information.
--force Suppress confirmation prompt.