Issue 31: Update cli entrypoints, use sub commands within a flowalert entrypoint
Based on the specs in issue #31 (closed) the subcommands now appear as:
flowalert
top level commands
config
sub commands
debrisflow
sub commands
Areas that might need some clarification
- There are currently no sub-commands for
process
- The specs specify that
update
is a subcommand ofdebrisflow
, but from the code themodify
(previouslymodify-fire
) method goes with the otherdebris
flow commands. Should theupdate
command (which updates rainfall data) be a subcommand of a category?
NOTE 1 I did not change the internal code within the commands unless I saw an issue that needed to be addressed while writing tests. NOTE 2 Since we have not decided on the method to mock reaching out to the internet (mock.patch vs vcrpy) the tests written do not reach out do not reach out to the internet.
closes #14 (closed)
closes #31 (closed)
closes #32 (closed)
Edited by Hunsinger, Heather Elizabeth