Ejemplo n.º 1
0
def bash_proc(*strings: str) -> list:
    return [
        HOST_ROOT_PATH,
        BASH,
        INTERPRET,
        concat([*strings], SPACE),
    ]
Ejemplo n.º 2
0
def absolute_name(tested: Callable):
    return concat([tested.__module__, tested.__name__], DOT)
Ejemplo n.º 3
0
def interactive_bash_command(*strings: str) -> str:
    return concat(
        [BASH, INTERACTIVE, INTERPRET, DOUBLE_QUOTE, *strings, DOUBLE_QUOTE],
        SPACE)