示例#1
0
文件: ci.py 项目: tasigabi97/traffic
def bash_proc(*strings: str) -> list:
    return [
        HOST_ROOT_PATH,
        BASH,
        INTERPRET,
        concat([*strings], SPACE),
    ]
示例#2
0
def absolute_name(tested: Callable):
    return concat([tested.__module__, tested.__name__], DOT)
示例#3
0
文件: ci.py 项目: tasigabi97/traffic
def interactive_bash_command(*strings: str) -> str:
    return concat(
        [BASH, INTERACTIVE, INTERPRET, DOUBLE_QUOTE, *strings, DOUBLE_QUOTE],
        SPACE)