jobflow_remote.cli.project module#

jobflow_remote.cli.project.check(jobstore: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408750>]=False, queue: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408790>]=False, worker: Annotated[str, <typer.models.OptionInfo object at 0x7fbc73408910>]=None, print_errors: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408a50>]=False, full: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408b10>]=False) None[source]#

Check that the connection to the different elements of the projects are working.

jobflow_remote.cli.project.check_conflicts() None[source]#

Check for configuration conflicts between different projects.

Verifies that resources that must be unique are not shared between the projects defined in the projects folder.

jobflow_remote.cli.project.current_project(ctx: Context, print_tree: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc792f4450>]=False) None[source]#

Print the list of the project currently selected.

jobflow_remote.cli.project.generate(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fbc73408550>], file_format: ~jobflow_remote.cli.utils.Annotated[~jobflow_remote.cli.utils.SerializeFileFormat, <typer.models.OptionInfo object at 0x7fbc79318290>] = SerializeFileFormat.YAML, full: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc734085d0>] = False) None[source]#

Generate a project configuration file with dummy elements to be edited manually.

jobflow_remote.cli.project.list_exec_config(verbosity: Annotated[int, <typer.models.OptionInfo object at 0x7fbc792f6f10>]=0) None[source]#

The list of defined Execution configurations

jobflow_remote.cli.project.list_projects(warn: Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408290>]=False) None[source]#

List of available projects.

jobflow_remote.cli.project.list_worker(verbosity: Annotated[int, <typer.models.OptionInfo object at 0x7fbc792f6f10>]=0) None[source]#

The list of defined workers

jobflow_remote.cli.project.remove(name: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fbc73408a90>], keep_folders: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73408d90>] = False, yes_all: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc792f7dd0>] = False, force_deprecated: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc792f7bd0>] = False) None[source]#

Remove a project from the projects’ folder, including the related folders.

jobflow_remote.cli.project.replace(old_string: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fbc73409910>], new_string: ~typing.Annotated[str, <typer.models.ArgumentInfo object at 0x7fbc73409990>], all_projects: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73409a90>] = False, yes_all: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc792f7dd0>] = False, force_deprecated: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc792f7bd0>] = False, no_backup: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7fbc73409950>] = False) None[source]#

Replace a string in one or more project files.

This command performs a text replacement in the YAML project files, replacing all instances of old_string with new_string. By default, creates a backup of the original file.