PasswordGenCLI 2.1.2
dotnet tool install --global PasswordGenCLI --version 2.1.2
dotnet new tool-manifest
dotnet tool install --local PasswordGenCLI --version 2.1.2
#tool dotnet:?package=PasswordGenCLI&version=2.1.2
nuke :add-package PasswordGenCLI --version 2.1.2
Password Generator CLI
A cross-platform command-line tool for generating secure passwords.
Example
Installation
Prerequisites
- .NET 9.0 or later
Install from NuGet
dotnet tool install --global PasswordGenCLI
Update version
dotnet tool update -g PasswordGenCLI
Manual Installation
- Clone the repository
- Run in the project directory:
dotnet pack
dotnet tool install --global --add-source ./nupkg PasswordGenCLI --version 2.0.0
Usage
NEW FEATURES
Init local secure storage:
pwgen init
Add new entry to storage:
pwgen new -s GitHub -l example@gmail.com
Read password from storage
pwgen read --service GitHub
#if there are several entries for the same service they will be shown with logins to choose which password you want to copy
Read option for clipboard copy to set the timeout (in seconds). After expiration the password will be cleared from the clipboard.
pwgen read -s GitHub -t 30
# copied password will be cleared from the clipboard after 30 second
There are also update
and delete
commands to update or delete entry from the storage
pwgen update -s GitHub -l example@gmail.com
pwgen delete -s GitHub -l example@gmail.com
BASE FEATURES
Show all entries
pwgen read --list
Generate a password with default settings (14 characters):
pwgen
Specify password length:
pwgen -l 16
pwgen --length 20
Include special characters:
pwgen -u
pwgen --use-symbols
Custom special characters:
pwgen -s "#$%" -u
pwgen --symbols "@!%" --use-symbols
Show help:
pwgen --help
Uninstallation
dotnet tool uninstall -g PasswordGenCLI
Platform Support
- Windows
- macOS
- Linux
License
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
v2.1.2 Release Notes:
- improved output of several entries for the same service to table view
v2.1.1 Release Notes:
- fixed bug with null values of the new entry
v2.1 Release Notes:
- Password won't be show after reading from storage and after creating new entry
- Added colored table view while reading entries list or if there are several entries for the same service.
- Added optional URL property for entry
- Added optional Note property for entry
v2 Release Notes:
- Secure storage feature: from now on you can not only generate password but save it securely with the service name it was creted to and a login.