Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwmx/user
Command line interface for common macOS user account operations.
https://github.com/xwmx/user
bash bpkg command-line homebrew macos osx
Last synced: about 2 months ago
JSON representation
Command line interface for common macOS user account operations.
- Host: GitHub
- URL: https://github.com/xwmx/user
- Owner: xwmx
- License: mit
- Created: 2015-09-26T02:15:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-10-07T06:19:27.000Z (over 4 years ago)
- Last Synced: 2024-09-26T12:08:05.932Z (4 months ago)
- Topics: bash, bpkg, command-line, homebrew, macos, osx
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
'##::::'##::'######::'########:'########::
##:::: ##:'##... ##: ##.....:: ##.... ##:
##:::: ##: ##:::..:: ##::::::: ##:::: ##:
##:::: ##:. ######:: ######::: ########::
##:::: ##::..... ##: ##...:::: ##.. ##:::
##:::: ##:'##::: ##: ##::::::: ##::. ##::
. #######::. ######:: ########: ##:::. ##:
:.......::::......:::........::..:::::..::
```# user cli
`user` is a command line interface for common macOS user account operations,
like fast user switching, listing users, and displaying the user login window.## Installation
### Homebrew
To install with [Homebrew](http://brew.sh/):
```bash
brew taps xwmx/taps
brew install user
```### npm
To install with [npm](https://www.npmjs.com/package/user-cli):
```bash
npm install --global user-cli
```### bpkg
To install with [bpkg](http://www.bpkg.io/):
```bash
bpkg install xwmx/user
```### Manual
To install manually, simply add the `user` script to your `$PATH`. If
you already have a `~/bin` directory, you can use the following command:```bash
curl -L https://raw.github.com/xwmx/user/master/user \
-o ~/bin/user && chmod +x ~/bin/user
```## Usage
```
Usage:
user list
user login
user logout [--force]
user window
user -h | --help
user --versionSubcommands:
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.
```