Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 948dc070..fcd9a706 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -24,6 +24,7 @@ from .lib.user_interaction import *
parser = ArgumentParser()
__version__ = "2.3.0.dev0"
+storage['__version__'] = __version__
def initialize_arguments():
@@ -60,7 +61,10 @@ def initialize_arguments():
arguments = initialize_arguments()
+from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
+if arguments.get('plugin', None):
+ load_plugin(arguments['plugin'])
# TODO: Learn the dark arts of argparse... (I summon thee dark spawn of cPython)