# fedmask

> Masked terminal text input for shell scripts.
> Pattern masks (phone, date, SSN, custom) and filter masks (int, uint, float, decimal, hex, alpha, alnum, upper, lower).
> More information: `python3 fedmask.py --help`.

- Phone number input:

`python3 fedmask.py 0 0 phone:classic -v "{{5551234567}}"`

- Date input with dot placeholders:

`python3 fedmask.py 0 0 date:mdy -f "."`

- Custom pattern (# = digit, @ = letter, & = alphanumeric, * = any):

`python3 fedmask.py 0 0 "SKU ####-@@-**:#" -v "{{2354AN2A7}}"`

- Integer field, max 8 digits:

`python3 fedmask.py 0 0 int:8 -v "{{42}}" -e TAB,SHIFT-TAB`

- Float with 2 decimal places:

`python3 fedmask.py 0 0 float:8.2 -v "{{99.95}}"`

- Uppercase-only text, 10 chars:

`python3 fedmask.py 0 0 upper:10`

- Hex color code in reverse video:

`python3 fedmask.py 0 0 hex:6 -f "0" -r`

- Display-only SSN:

`python3 fedmask.py 0 0 ssn -v "{{123456789}}" -n`

- Colored mask:

`python3 fedmask.py 0 0 phone:classic --color yellow,blue`
