-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- Write a basic entrypoint into the app, this should be a function called main.
- Check for command line arguments and call the correct functions (avoid using a switch/series of if statements if possible as this is not easily extendable, an ideal solution would have no run time dependencies)
- Print a help message to the console if the command line argument does not match any of the known features, it should detail all the possible arguments and any possible values those arguments need.
- Help message should also be shown if the -h or --Help arguments are given
- Write a unit test to check that a help message is shown.
- Write a unit test and mock module to check a module can be added without changing the "main" function/file.
- Change any existing code to function with the new entry point.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Open