Beispiel #1
0
def menu():
    ascii_menu("Queue Management", [('all start', all_start),
                                    ('all stop', all_stop),
                                    ('rabbit start', rabbit_start),
                                    ('celery start', celery_start),
                                    ('rabbit stop', rabbit_stop),
                                    ('celery stop', celery_stop),
                                    ('mongo start', mongo_start)])
Beispiel #2
0
def menu():
    ascii_menu("Queue Management",
               [('all start', all_start),
                ('all stop', all_stop),
                ('rabbit start', rabbit_start),
                ('celery start', celery_start),
                ('rabbit stop', rabbit_stop),
                ('celery stop', celery_stop),
                ('mongo start', mongo_start)
                ])
Beispiel #3
0
def menu():
    """open a menu to start some commands with an ascii menu"""
    ascii_menu("RabbitMQ", menu_list)
Beispiel #4
0
def menu():
    ascii_menu("Queue Management",
               [('start rabitmq', rabbit_start),
                ('start celery', celery_start)
                ])
Beispiel #5
0
def menu():
    """open a menu to start some commands with an ascii menu"""
    ascii_menu("RabbitMQ", menu_list)
Beispiel #6
0
def menu():
    ascii_menu("Queue Management", [('start rabitmq', rabbit_start),
                                    ('start celery', celery_start)])