From 94bceb2199a16509c744a2f28dcfa19ab8cc5935 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 24 May 2021 15:29:59 +0200 Subject: Adding support for --plugin= --- archinstall/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archinstall') 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) -- cgit v1.2.3-70-g09d2