This project is a password generator implemented in Go. It utilizes the Cobra CLI library for command-line interface functionality.
To use this project, follow these steps:
- Run
go build
to build the project. - Run
go install
to install the project. - Execute the following command to generate a password:
passwordGen generate -l 20 -d -s
After running the command, you will see the generated password printed to the console, and it will also be copied to the clipboard. The output will look similar to the following:
Generating password...
y@7Fp&4oL!vN\*Q9m$5S1
Password copied to clipboard!