def METHOD_NAME():
    args = parse_args()
    source = args.SOURCE
    # If an http or https URL, extend it to the listener and options we need for the proper stack trace
    if source.startswith('http'):
        if source[len(source)-1] != '/':
            source += '/'
        source += 'debug/pprof/goroutine?debug=2'
    # Perform the analysis requested by the user
    if args.ANALYSIS == 'echo':
        do_echo(source)
    elif args.ANALYSIS == 'count':
        do_count(source)
    elif args.ANALYSIS == 'monitor':
        if args.TIME == 'Manual':
            do_monitor_manual(source, args.DIR)
        else:
            do_monitor_auto(source, args.TIME, args.DIR)