OVERVIEW: Generates a random Password
USAGE: pw-generator [] [-u] [-s] [-n]
ARGUMENTS: Specified length (default: 8)
OPTIONS: -u Include uppercase letters -s Include special characters -n Include numbers --version Show the version. -h, --help Show help information.
While developing run the application with
$ swift run
or
$ swift run pwgenerator <Arguments>
Example (in development)]
$ swift run pwgenerator 32 -usn
$ swift build --configuration release
Copy the file from .build
to e.g. /usr/local/bin
$ cp -f .build/release/pwgenerator /usr/local/bin/pwgenerator
Initial command line tool boilerplate for Xcode/swift was created with:
$ swift package init --type executable
$ git init && git add -A && git commit -m "Initial commit"