hpcflow.app.Command#
- class hpcflow.app.Command(command: Optional[str] = None, executable: Optional[str] = None, arguments: Optional[List[str]] = None, variables: Optional[Dict[str, str]] = None, stdout: Optional[str] = None, stderr: Optional[str] = None, stdin: Optional[str] = None, rules: Optional[List[hpcflow.app.ActionRule]] = <factory>)#
Bases:
Command
Methods
Return the resolved command line.
Return executable labels required by this command.
Attributes
- Parameters:
- app = BaseApp(name='hpcFlow', version='0.2.0a167')#
- classmethod from_json_like(json_like, shared_data=None)#
- Parameters:
json_like (Union[Dict, List]) –
shared_data (Optional[Dict[str, ObjectList]]) –
- get_command_line(EAR, shell, env)#
Return the resolved command line.
This is ordinarily called at run-time by Workflow.write_commands.
- get_output_types()#
- get_required_executables()#
Return executable labels required by this command.
- rules: List[app.ActionRule] | None#
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#