馃帹 Make command as classes
For the moment, the code related to each command is in hpm.py
, which is not good for readability.
Change it by creating a file for each command, based on abstract class CommandExecutor
with the method execute
filled with the wanted code.
In the hpm.py
file, loop throught all the commands located in args.py:COMMANDS
, and execute user provided command.
Edited by tanguy.cavagna