qwikstart.operations.find_tagged_line module

class qwikstart.operations.find_tagged_line.Context(execution_context:qwikstart.base_context.ExecutionContext, file_path:pathlib.Path, tag:str)

Bases: qwikstart.base_context.BaseContext

file_path: Path = None
classmethod help(field_name: str) → Optional[str]
tag: str = None
class qwikstart.operations.find_tagged_line.Operation(local_context: Optional[Mapping[str, Any]] = None, opconfig: Optional[Dict[str, Any]] = None, description: str = '')

Bases: qwikstart.operations.base.BaseOperation

Operation for finding a line in a file containing a text “tag”.

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

name: str = 'find_tagged_line'
run(context: qwikstart.operations.find_tagged_line.Context) → qwikstart.operations.find_tagged_line.Output

Override with action

class qwikstart.operations.find_tagged_line.Output

Bases: dict

column: int = None
line: int = None