DNXLabs / one-cli

CLI to manage all stacks from DNX.
https://cli.dnx.one
Apache License 2.0
7 stars 0 forks source link

Dynamically load commands #36

Closed arthurbdiniz closed 4 years ago

arthurbdiniz commented 4 years ago

Looking at the imports inside one/one.py I was able to see that the code is with high coupling when importing the CLI commands. The commands are described inside files that need to be imported inside this file every time a new command is developed the file needs to be imported inside one.py. In order to fix this issue would be to good to dynamically import modules inside a folder.