Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/scripts')
-rw-r--r--archinstall/scripts/list.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/archinstall/scripts/list.py b/archinstall/scripts/list.py
new file mode 100644
index 00000000..0e0363a1
--- /dev/null
+++ b/archinstall/scripts/list.py
@@ -0,0 +1,10 @@
+import glob
+import pathlib
+
+print("The following are viable --script options:")
+
+for script in [pathlib.Path(x) for x in glob.glob(f"{pathlib.Path(__file__).parent}/*.py")]:
+ if script.stem in ['__init__', 'list']:
+ continue
+
+ print(f" {script.stem}") \ No newline at end of file