Runner skeleton

This commit is contained in:
akp 2023-11-27 23:16:42 +00:00
parent 737cae7022
commit 8e0e6ba7a0
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

27
run Normal file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env python3
import fire
# Commands
# - init
# - run
# - bench (later)
class CLI(object):
@staticmethod
def init(year: int, day: int):
"""
Initialise a day's AoC challenge
"""
raise NotImplementedError("init unimplemented")
@staticmethod
def run(fpath: str):
"""
Run a day's code
"""
raise NotImplementedError("run unimplemented")
if __name__ == "__main__":
fire.Fire(CLI)