matflow.Command#
- class matflow.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[matflow.ActionRule]] = <factory>)#
Bases:
Command
Methods
Return the resolved command line.
Return executable labels required by this command.
Attributes
- Parameters:
- app = App(name='MatFlow', version='0.3.0a129')#
- 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.
- to_dict()#
- to_json_like(dct=None, shared_data=None, exclude=None, path=None)#