Skip to content

Command-line tool to list the users of a Linux machine. Made with Python 3.8.

Notifications You must be signed in to change notification settings

jos3neto/userlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

userlist

CLI for listing the users on a Linux machine.

Usage

All the arguments are optional. Pass in the path to the file you want the user list to be exported to. Pass in the desired format, json or csv.

If no path is provided, the tool outputs to terminal. If no format is provided, the tool defaults to json.

If you pass in the path to a file that doesn't exist, the tool will create one in the current directory. If the file already exists, the tool will append the user list to said file.

Example with path and format:

$ userlist --path /path/to/file.txt --format json

Example with format only:

$ userlist --format csv

Installation From Source

To install the package after you've cloned the repository, you'll want to run the following command from within the project directory:

$ pip install --user -e .

Preparing for Development

Follow these steps to start developing with this project:

  1. Ensure pip and pipenv are installed
  2. Clone repository: git clone [email protected]:jos3neto/userlist.git
  3. cd into the repository
  4. Activate virtualenv: pipenv shell
  5. Install dependencies: pipenv install

About

Command-line tool to list the users of a Linux machine. Made with Python 3.8.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages