infinite-omicron / pii-redactor

Personally Identifiable Information (PII) Redactor
BSD Zero Clause License
0 stars 1 forks source link

Implement command line arguments #7

Closed outzhu closed 3 years ago

outzhu commented 3 years ago

testing the Pull Request feature and adding new code to PII.

Bug: https://github.com/infinite-omicron/pii-redactor/issues/6

oxr463 commented 3 years ago

Since this is still WIP, I'm going to convert it to a draft.

oxr463 commented 3 years ago
  1. No arguments.
./pii_redactor.sh 
./pii_redactor.sh: line 9: $1: unbound variable
  1. Current directory:
./pii_redactor.sh .
Success
  1. Help flag:
./pii_redactor.sh -h
USAGE: 
pii_redactor [command] || <directory that holds cluster.yml>

GLOBAL COMMANDS:
  -h, --help            Show this message
  -d, --debug           Output debug messages
  -v, --verbose         verbose mode
  -ver, --version       Print version