feat: setup basic CLI structure

This commit is contained in:
thomasabishop 2024-08-26 16:21:52 +01:00
parent 51e35a8fee
commit e7518a3654

View file

@ -1,5 +1,18 @@
import argparse
def main():
print("Application is running")
parser = argparse.ArgumentParser(
prog="eolas-db", description="Eolas database manager."
)
parser.add_argument("command", choices=["parse"], help="Command to execute")
parser.add_argument("--path", help="Path to Zettelkasten directory")
args = parser.parse_args()
print("Welcome to eolas-db")
if args.command == "parse":
pass
if __name__ == "__main__":