You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.