def add_subcommand_parsers(subparsers):
    """
    TODO: Implement Me
    """
    pass

@@ -1,88 +1,2949 @@
-def add_subcommand_parsers(subparsers):%0A    %22%22%22%0A    TODO: Implement Me%0A    %22%22%22%0A    pass
+from globus_cli.parser import GlobusCLISharedParser%0Afrom globus_cli.helpers import supports_additional_params%0A%0Afrom globus_sdk import TransferClient%0A%0A%0Adef add_subcommand_parsers(subparsers):%0A    %22%22%22%0A    Add Globus Transfer commands%0A    %22%22%22%0A    transfer_parser = subparsers.add_parser(%0A        'transfer', help=(%0A            'Interact with Globus Transfer API. '%0A            'Used to inspect, modify, and interact with Globus Endpoints. '%0A            'Has capabilities to search Endpoints, manage Sharing Access '%0A            'via Access Control Lists (ACLs), manage Endpoint roles, and '%0A            'do actual Transfer tasks between endpoints.'))%0A%0A    subsubparsers = transfer_parser.add_subparsers(%0A        title='Commands', parser_class=GlobusCLISharedParser, metavar='')%0A%0A    # individual endpoint CRUD%0A    add_get_endpoint_parser(subsubparsers)%0A    add_update_endpoint_parser(subsubparsers)%0A    add_create_endpoint_parser(subsubparsers)%0A%0A    # search, activation, and other endpointish actions%0A    add_endpoint_search_parser(subsubparsers)%0A    add_endpoint_autoactivate_parser(subsubparsers)%0A%0A    # Transfer tasks%0A    add_ls_parser(subsubparsers)%0A%0A%0Adef add_get_endpoint_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer get-endpoint%60%0A    %22%22%22%0A%0A%0Adef add_update_endpoint_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer update-endpoint%60%0A    %22%22%22%0A%0A%0Adef add_create_endpoint_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer create-endpoint%60%0A    %22%22%22%0A%0A%0Adef add_endpoint_search_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer endpoint-search%60%0A    %22%22%22%0A    endpoint_search_parser = subsubparsers.add_parser(%0A        'endpoint-search', help=(%0A            'Search for Globus Endpoints')%0A        )%0A    endpoint_search_parser.set_defaults(func=endpoint_search)%0A%0A    endpoint_search_parser.add_argument(%0A        '--filter-scope', dest='scope', default=None,%0A        choices=('all', 'my-endpoints', 'my-gcp-endpoints', 'recently-used',%0A                 'in-use', 'shared-by-me', 'shared-with-me'),%0A        help=('The set of endpoints to search over. '%0A              'Omission is equivalent to %22all%22'))%0A    endpoint_search_parser.add_argument(%0A        '--filter-fulltext', dest='fulltext', default=None,%0A        help='Text filter to apply to ')%0A%0A%0Adef add_endpoint_autoactivate_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer endpoint-autoactivate%60%0A    %22%22%22%0A%0A%0Adef add_ls_parser(subsubparsers):%0A    %22%22%22%0A    Subcommand parser for %60globus transfer ls%60%0A    %22%22%22%0A%0A%0A@supports_additional_params%0Adef endpoint_search(args):%0A    client = TransferClient()%0A%0A    # copy the additional params we are given%0A    params = dict(args.additional_params)%0A%0A    if args.scope:%0A        params%5B'filter_scope'%5D = args.scope%0A    if args.fulltext:%0A        params%5B'filter_fulltext'%5D = args.fulltext%0A%0A    res = client.endpoint_search(**params)%0A%0A    print(res.text_body)
 %0A

Add first Transfer command -- endpoint search