INNER CODE UNIT · Python
choices
thevickypedia/Jarvis · jarvis/__init__.py:57
choices = _pretext + _pretext.join(
f"{k} {'·' * (_longest_key - len(k) + 8)}→ {v}".expandtabs() for k, v in options.items()
)
try:
arg = sys.argv[1].lower()
except (IndexError, AttributeError):
print(f"Cannot proceed without arbitrary commands. Please choose from {choices}")
exit(1)
from jarvis.lib import installer
match arg:
case "install":
installer.main_install()
case "dev-install":
installer.dev_install()
case "uninstall":
installer.main_uninstall()
case "dev-uninstall":