Skip to content

Commit

Permalink
Update CLI design
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkastner committed Jan 18, 2024
1 parent 6a72d35 commit 16a00c4
Showing 1 changed file with 14 additions and 29 deletions.
43 changes: 14 additions & 29 deletions pyqmmm/cli.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
"""Command-line interface (CLI) entry point."""

def welcome():
print("\n ╔══════════════════════════════════════════╗")
print(" ║ .--------------------------------------. ║")
print(" ║ | $$ $ | ║")
print(" ║ | $$$$$ $$$ | ║")
print(" ║ | $$$$$$$$$ $$$$ $$ | ║")
print(" ║ | $$$$$$ $$$ $$$$$ $$$$ | ║")
print(" ║ | $$$ $$$$$$ $$$$$ | ║")
print(" ║ | $$$ $$$ $$$ $$$$$$$$ | ║")
print(" ║ | $$$ $$$ $$$ $$$ $$ | ║")
print(" ║ | $$$ $$$$ $$$ $$ | ║")
print(" ║ | $$$$$$$$ $$ $$ | ║")
print(" ║ | $$$ $$$$$$ $$ | ║")
print(" ║ | $$$$$ | ║")
print(" ║ | $$$$$$$$$$$$$$$ $$$$ | ║")
print(" ║ | $$$ $$$$ | ║")
print(" ║ | $$$$$$$ | ║")
print(" ║ | $$$ | ║")
print(" ║ | | ║")
print(" ║ | WELCOME TO PYQMMM | ║")
print(" ║ '--------------------------------------' ║")
print(" ╚══════════════════════════════════════════╝\n")
print("\n ╔════════════════════════════════════════════════╗")
print(" ║ .--------------------------------------------. ║")
print(" ║ | | ║")
print(" ║ | ___ __ __ __ __ __ __ | ║")
print(" ║ | _ __ _ _ / _ \| \/ | \/ | \/ | | ║")
print(" ║ | | '_ \| | | | | | | |\/| | |\/| | |\/| | | ║")
print(" ║ | | |_) | |_| | |_| | | | | | | | | | | | ║")
print(" ║ | | .__/ \__, |\__\_\_| |_|_| |_|_| |_| | ║")
print(" ║ | |_| |___/ | ║")
print(" ║ | | ║")
print(" ║ | WELCOME TO pyQMMM | ║")
print(" ║ '--------------------------------------------' ║")
print(" ╚════════════════════════════════════════════════╝\n")

print("Default programmed actions for the pyQMMM package.")
print("GitHub: https://github.com/davidkastner/pyqmmm")
Expand All @@ -35,7 +27,6 @@ def welcome():

import os
import click
import pyqmmm

@click.group()
def cli():
Expand Down Expand Up @@ -264,10 +255,4 @@ def qm(

if __name__ == "__main__":
# Run the command-line interface when this script is executed
job = input("Would you like to run an MD or QM task? (md/qm) ")
if job == "md":
md()
elif job == "qm":
qm()
else:
print(f"{job} is not a valid response.")
cli()

0 comments on commit 16a00c4

Please sign in to comment.