Read a GraphQL query from standard input, and output it pretty-printed to standard output.

def main():
    """Read a GraphQL query from standard input, and output it pretty-printed to standard output."""
    query = ' '.join(sys.stdin.readlines())

    sys.stdout.write(pretty_print_graphql(query))