dlc2action.scripts.clean

 1#
 2# Copyright 2020-present by A. Mathis Group and contributors. All rights reserved.
 3#
 4# This project and all its files are licensed under GNU AGPLv3 or later version. 
 5# A copy is included in dlc2action/LICENSE.AGPL.
 6#
 7import click
 8from dlc2action.project import Project
 9
10
11@click.option("--name", "-n", required=True, type=str, help="name of the project")
12@click.option(
13    "--projects_path",
14    "-pp",
15    required=False,
16    type=str,
17    help="path to the projects folder",
18)
19@click.option(
20    "--all",
21    is_flag=True,
22    help="if the flag is used, all parameters are prompted; otherwise only those "
23    'that have blank ("???") values',
24)
25@click.command()
26def main(name, projects_path, all):
27    """
28    Fill in project parameters interactively
29    """
30
31    project = Project(name, projects_path=projects_path)
32
33
34if __name__ == "__main__":
35    main()
main = <Command main>

Fill in project parameters interactively