Runner skeleton
This commit is contained in:
parent
737cae7022
commit
8e0e6ba7a0
1 changed files with 27 additions and 0 deletions
27
run
Normal file
27
run
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue