pwm

command module
v0.0.0-...-b520730 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 1 Imported by: 0

README

About

PWM - simple terminal password and something more manager

Preparation

gpg --full-generate-key

Install

go install github.com/algrvvv/pwm@latest
pwm init

Auto completion

pwm completion zsh > ~/tmp/pwm
# It's better to put this command in your shell configuration, for example ~/.zshrc
source ~/tmp/pwm

See usage

To see available commands use:

pwm help

Examples

Store new password or note:

pwm store remote_server_ip "127.0.0.1"
# or
pwm store github-token "my_github_token"

Get password or note:

pwm get remote_server_ip
# or (if you need see and copy)
pwm get github-token --clip

Only copy:

pwm copy github-token

Remove password or note:

pwm rm remote_server_ip

Get all passwords or notes:

pwm list

Generate new password:

pwm generate --len 32 --clip --save password_name

All flags for generate password:

Flags:
  -c, --clip               save to clipboard
  -h, --help               help for generate
  -l, --len int            password len. (default 12)
  -s, --save string        save note by name
  -D, --without-digits     dont use digits
  -S, --without-specials   dont use special symbols
  -U, --without-uppers     dont use upper case symbols

Documentation

Overview

Copyright © 2024 algrvvv <alexandrgr25@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL