(parser)
Add --scheduler argument to a parser
Add --scheduler argument to a parser
Add -- scheduler argument to a parser
def add_scheduler_arg(parser):  # pragma: no cover
    """ Add --scheduler argument to a parser """
    parser.add_argument(
        "--scheduler",
        default=os.environ.get("CMAN_SCHEDULER", "mesos"),
        choices=["mesos", "kubernetes"],
        help="Type of scheduler used to manage the chosen pool",
    )
def add_scheduler_arg ( parser ) : # pragma: no cover parser . add_argument ( "--scheduler" , default = os . environ . get ( "CMAN_SCHEDULER" , "mesos" ) , choices = [ "mesos" , "kubernetes" ] , help = "Type of scheduler used to manage the chosen pool" , )