Added additional params and added usage
This commit is contained in:
parent
0aed99b97e
commit
e3bd8f932d
4 changed files with 40 additions and 5 deletions
18
README.md
18
README.md
|
|
@ -10,9 +10,23 @@ flake to build a resume generator command.
|
|||
Use the flake!
|
||||
|
||||
```bash
|
||||
env EMAIL='foo@bar.com' PHONENUMBER='(555) 555-5555' nix run github:alejandro-angulo/resume
|
||||
❯ nix run github:alejandro-angulo/resume -- -h
|
||||
|
||||
Usage: alejandro-resume [-h] [-d] [-e EMAIL] [-p PHONENUMBER]
|
||||
-h Prints this usage message.
|
||||
|
||||
-d Saves latexmk log file (will be named alejandro_resume.log)
|
||||
|
||||
-e EMAIL Sets email address used when building document.
|
||||
Can also be set with EMAIL environment variable.
|
||||
|
||||
-p PHONENUMBER Sets phone number used when building the document.
|
||||
Can also be set with PHONENUMBER environment variable.
|
||||
|
||||
|
||||
❯ nix run github:alejandro-angulo/resume -- -e 'foo@bar.com' -p '(555) 555-5555'
|
||||
```
|
||||
|
||||
The `EMAIL` and `PHONENUMBER` variables are required because I didn't want to
|
||||
The email and phone number parameters are required because I didn't want to
|
||||
hardcode those in my tex file. Hopefully this helps prevent spammers from
|
||||
finding my personal contact information.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue