Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/girigiribauer/go-pwgen

cli password generator by Golang
https://github.com/girigiribauer/go-pwgen

Last synced: about 1 month ago
JSON representation

cli password generator by Golang

Awesome Lists containing this project

README

        

# pwgen

cli password generator by Golang

## Introduction

only type `pw`

% pw
ZIqUwU0znI
kLmDwR70LM
84ZlsZKQWX
kzwtaGJynq
WVQ89MpG7s
c6DPUJy6Fx
vznrIwJVcJ
8EpfBIoHRk
JFTX3OhitP
4igsXqCiKf

## Installation

### step1. Install pwgen

* go get (for developer)
* Homebrew
* download binaries (for end-user)

If you are developer (case: Linux, MacOS)

$ go get github.com/girigiribauer/go-pwgen

$ cd $GOPATH/src/github.com/girigiribauer/go-pwgen/cmd/pw

$ go install

or Homebrew (case: MacOS)

$ brew tap girigiribauer/go-pwgen

$ brew install go-pwgen

If you are end-user, you can download release binaries.

### step2. You can read manual

$ pw -h

## Options

See `pw -h`

GLOBAL OPTIONS:
--length value, -l value password length (range is [8...64]) (default: 10)
--count value, -c value number of counts (default: 10)
--digit add password characters 0-9
--alphabetlarge add password characters A-Z
--alphabetsmall add password characters a-z
--underscore, -u add password character Underscore(\_)
--specialchars, -s add password characters special characters, exclude from Space, Backslash, Underscore and Delete
--help, -h show help
--version, -v print the version