├── LICENSE ├── pwd-cli ├── pwd-cli.gif ├── Screen Shot 2022-06-28 at 00.50.08.png ├── Screen Shot 2022-07-03 at 13.08.54.png ├── main.go ├── go.mod ├── go.sum ├── README.md └── cmd └── root.go /LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pwd-cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borakasmer/pwd-cli/HEAD/pwd-cli -------------------------------------------------------------------------------- /pwd-cli.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borakasmer/pwd-cli/HEAD/pwd-cli.gif -------------------------------------------------------------------------------- /Screen Shot 2022-06-28 at 00.50.08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borakasmer/pwd-cli/HEAD/Screen Shot 2022-06-28 at 00.50.08.png -------------------------------------------------------------------------------- /Screen Shot 2022-07-03 at 13.08.54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/borakasmer/pwd-cli/HEAD/Screen Shot 2022-07-03 at 13.08.54.png -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright © 2022 NAME HERE bora@borakasmer.com 3 | 4 | */ 5 | package main 6 | 7 | import "github.com/borakasmer/pwd-cli/cmd" 8 | 9 | func main() { 10 | cmd.Execute() 11 | } 12 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/borakasmer/pwd-cli 2 | 3 | go 1.18 4 | 5 | require ( 6 | github.com/inconshreveable/mousetrap v1.0.0 // indirect 7 | github.com/spf13/cobra v1.5.0 // indirect 8 | github.com/spf13/pflag v1.0.5 // indirect 9 | ) 10 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= 2 | github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= 3 | github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= 4 | github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 5 | github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= 6 | github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= 7 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= 8 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 9 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 10 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pwd-cli 2 | With this CLI Tool, you can generate your own password with specific parameters. You can get custom password with "-s 7, -n 3, -c -x" flags.

3 | 🍎This is Custom Password CLI. In every request, generated a new random password. If you don't set any parameters, you will get 8 length lowercase string password. 4 | 5 | ![NetflixGithub](https://raw.githubusercontent.com/borakasmer/pwd-cli/9f9277d27bda9e90da372c5035bde557ab0fa2d6/pwd-cli.gif)
6 | 7 | Flags: 8 |
:tv:pwd-cli
pwd-cli -s 8 -n 3 -c -x
9 | 16 | xflag 17 | 18 | Default Command: "pwd-cli"

19 | Example Usage: 20 | 21 | Usage: 22 | pwd-cli [flags] 23 | 31 | **********************************************************************************************************
32 | 33 | -c flag gets "true", if there is "-c" flag. If there is no -c flag, -c flag gets "false" value.
34 | -s flag gets default 8 value.
-x flag means put symbol in Password. Default symbol length formule is => "len(string)/3+1"


35 | 36 | How to install pwd-cli (Random Password Generator):
37 | 38 | 39 |
go install github.com/borakasmer/pwd-cli@latest
40 | 41 | 🔴Important: You need Go program package to install pwd-cli => Go Downloads
42 |
    43 |
  1. "go env" With the command "GOPATH" and "GOROOT" folders of GO can be seen.
  2. 44 |
  3. On Mac after "go install ..." the "go/bin/pwd-cli" file under GOPATH => should be copied under "go/bin/" folder under GOROOT.
  4. 45 |
  5. In Windows, there is no need to further action :white_check_mark:
  6. 46 |
47 | FRJfHssXEAAqNsP 48 | :green_book: Extra Detail
49 | -------------------------------------------------------------------------------------------------------------- 50 |