qwikstart.operations.find_files module

class qwikstart.operations.find_files.Context(execution_context:qwikstart.base_context.ExecutionContext, regex:str='', directory:str='.', output_name:str='matching_files', path_filter:Union[str, NoneType]=None, regex_flags:List[str]=<factory>)

Bases: qwikstart.base_context.BaseContext

directory: str = '.'
classmethod help(field_name: str) → Optional[str]
output_name: str = 'matching_files'
path_filter: Optional[str] = None
regex: str = ''
regex_flags: List[str] = None
class qwikstart.operations.find_files.Operation(local_context: Optional[Mapping[str, Any]] = None, opconfig: Optional[Dict[str, Any]] = None, description: str = '')

Bases: qwikstart.operations.base.BaseOperation

Operation for searching for text within files and returning file paths.

See https://qwikstart.readthedocs.io/en/latest/operations/find_files.html

name: str = 'find_files'
run(context: qwikstart.operations.find_files.Context) → Dict[str, List[str]]

Override with action