Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-05-24 15:29:59 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-05-24 15:29:59 +0200
commit94bceb2199a16509c744a2f28dcfa19ab8cc5935 (patch)
tree3eb41472aea6dfca9c62722ec1b90ae62b9bc7a0
parent7b1096bfa6a5d042b38341b68f857dbe4f150bb3 (diff)
Adding support for --plugin=<plugin path>
-rw-r--r--archinstall/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 5bcb7f7f..6a070392 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -63,6 +63,8 @@ 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)