universalturtles / Lisibilite

Repo for maintaining the code base for hybrid readability index application called Lisibilite
MIT License
4 stars 3 forks source link

[STORY]: Validate Arg Parser inputs #35

Open ats0stv opened 4 years ago

ats0stv commented 4 years ago

A single line user story Validate Arg Parser inputs Details about the user story --text Validate Text is greater than 500 characters --output-file Check directory exists if not create directory, if not able to create directory, fail Eg. -o --> ./output/output.csv then ensure ./output is present else create,if not able to create, fail

--input-file Make sure the input file exists and the file is readable

--format Mandatory field. Should be one of PDF / CSV

Test cases for all

Definition of Done

Additional Comments/Suggestions/Considerations if any