INNER CODE UNIT · Python

_daemons_names

jd/pifpaf · pifpaf/__main__.py:76

def _daemons_names():
    names = []
    if hasattr(DAEMONS, 'names'):
        names = DAEMONS.names
    else:
        for i in DAEMONS:
            names.append(i.name)
    return names


@click.group()
@click.option('--verbose/--quiet', help="Print mode details.")
@click.option('--debug', help="Show tracebacks on errors.", is_flag=True)
@click.option('--log-file', help="Specify a file to log output.",
              type=click.Path(dir_okay=False))
@click.option("--env-prefix", "-e",
              help="Prefix to use for environment variables (default: PIFPAF)")
@click.option("--global-urls-variable", "-g",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…