vmklib.app
index
/home/vkottler/src/vkottler/workspace/vmklib/vmklib/app.py

vmklib - This package's command-line entry-point application.

 
Modules
       
argparse
logging
os
subprocess
tempfile

 
Functions
       
add_app_args(parser: argparse.ArgumentParser) -> None
Add application-specific arguments to the command-line parser.
build_makefile(user_file: pathlib.Path, directory: pathlib.Path, proj: str, data: Dict[str, Any]) -> Iterator[str]
Build a temporary makefile and return the path.
entry(args: argparse.Namespace) -> int
Execute the requested task.
get_data(path: pathlib.Path, targets: List[str], prefix: Optional[str] = None) -> Tuple[Dict[str, Union[str, int]], List[str]]
Load configuration data if it can be found.
initialize_task_manager(manager: vcorelib.task.manager.TaskManager, proj: str, task_register: str, directory: pathlib.Path, substitutions: Dict[str, Union[str, int]]) -> None
Load internal and external tasks to the task manager.
project(path: pathlib.Path, name: str = None) -> str
If the project name wasn't provided, guess that it's either the name
of the parent directory, or that name as a slug.

 
Data
        ARBITER = <vcorelib.io.arbiter.DataArbiter object>
Callable = typing.Callable
DEFAULT_FILE = PosixPath('Makefile')
Dict = typing.Dict
GenericStrDict = typing.Dict[str, typing.Any]
Iterator = typing.Iterator
LOG = <Logger vmklib.app (WARNING)>
List = typing.List
Optional = typing.Optional
PKG_NAME = 'vmklib'
Substitutions = typing.Dict[str, typing.Union[str, int]]
TaskRegister = typing.Callable[[vcorelib.task.manager.TaskManager, str, pathlib.Path, typing.Dict[str, str]], bool]
Tuple = typing.Tuple