Bastien Dechamps
dinoV2
077dc3f
raw
history blame contribute delete
301 Bytes
import fire
from configue import load
class CLI:
"""Regroup all the commands of the CLI
"""
@staticmethod
def run(config_path: str) -> None:
config = load(config_path)
command = config["command"]
command.run()
if __name__ == "__main__":
fire.Fire(CLI)