Hello Everyone,
I have updated my till-tool project and added new features to enhance the user experience.
- Add an optional -l, --lang flag This feature allows to change the language attribute of an HTML page by adding -l or --lang on the command terminal along with run command, if the user wish to change language to French then they can run the following command to change html page language to French.
node src/index.js process src/till-1.txt -o example -l fr
- Exit with valid error codes. This feature is implemented to allow program for exit with valid error code, If there are no errors, exit with 0. Otherwise it exit with a non-zero exit code (e.g., -1). So upon successful compilation of code it will exit with 0 and if there is any error it will display with non zero number which will eventually help programmer to rectify and solve the error much properly.
Finally with these feature it is more user friendly and I learned how to do branch merging and better integration after adding new features.
Top comments (0)