Feat: move recopytex to its own folder
This commit is contained in:
parent
d4a08f0142
commit
5481b14b7a
0
recopytex/__init__.py
Normal file
0
recopytex/__init__.py
Normal file
@ -7,7 +7,9 @@ import yaml
|
||||
import sys
|
||||
import papermill as pm
|
||||
|
||||
with open("recoconfig.yml", "r") as config:
|
||||
CONFIGPATH = "recoconfig.yml"
|
||||
|
||||
with open(CONFIGPATH, "r") as config:
|
||||
config = yaml.load(config, Loader=yaml.FullLoader)
|
||||
|
||||
|
||||
@ -18,7 +20,9 @@ def cli():
|
||||
|
||||
@cli.command()
|
||||
def print_config():
|
||||
click.echo(config.key())
|
||||
click.echo(f"Config file is {CONFIGPATH}")
|
||||
click.echo("It contains")
|
||||
click.echo(config)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@ -71,3 +75,4 @@ def report(csv_file):
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
||||
|
Loading…
Reference in New Issue
Block a user