Skip to content

Cli

cli

Source code in yasfpy/cli.py
 8
 9
10
@click.group()
def cli() -> None:
    pass

compute

Source code in yasfpy/cli.py
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@cli.command()
@click.option(
    "--config",
    required=True,
    type=str,
    help="Specify the path to the config file to be used.",
)
@click.option(
    "--cluster",
    type=str,
    default="",
    help="File path for particle cluster specifications. Overrides the provided path in the config.",
)
def compute(config: str, cluster: str) -> None:
    handler = YASF(config, path_cluster=cluster)
    handler.run()

Comments