Module refactoring and dynamic loading
diff --git a/cfg_checker/cli/__init__.py b/cfg_checker/cli/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/cfg_checker/cli/__init__.py
diff --git a/cfg_checker/cli/network.py b/cfg_checker/cli/network.py
new file mode 100644
index 0000000..f70c410
--- /dev/null
+++ b/cfg_checker/cli/network.py
@@ -0,0 +1,14 @@
+from cfg_checker.network.checker import NetworkChecker
+
+if __name__ == '__main__':
+ # init connection to salt and collect minion data
+ cl = NetworkChecker()
+
+ # collect data on installed packages
+ cl.collect_network_info()
+
+ # diff installed and candidates
+ # cl.collect_packages()
+
+ # report it
+ cl.create_html_report("./pkg_versions.html")
diff --git a/cfg_checker/cli/package.py b/cfg_checker/cli/package.py
new file mode 100644
index 0000000..3119385
--- /dev/null
+++ b/cfg_checker/cli/package.py
@@ -0,0 +1,15 @@
+from cfg_checker.packages.checker import CloudPackageChecker
+
+
+if __name__ == '__main__':
+ # init connection to salt and collect minion data
+ cl = CloudPackageChecker()
+
+ # collect data on installed packages
+ cl.collect_installed_packages()
+
+ # diff installed and candidates
+ # cl.collect_packages()
+
+ # report it
+ cl.create_html_report("./pkg_versions.html")
diff --git a/cfg_checker/cli/reclass.py b/cfg_checker/cli/reclass.py
new file mode 100644
index 0000000..41b863d
--- /dev/null
+++ b/cfg_checker/cli/reclass.py
@@ -0,0 +1,6 @@
+from cfg_checker.reclass.comparer import ModelComparer
+
+if __name__ == "__main__":
+ # Execute the comparison using argv params
+
+ pass