def paasta_list(args):
    if args.print_instances:
        services = list_service_instances()
    elif args.all:
        services = list_services()
    else:
        services = list_paasta_services()

    for service in services:
        print service
Print a list of Yelp services currently running
dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cmds/list.py/paasta_list