






from argparse import ArgumentParser

from .add_new_model import AddNewModelCommand
from .add_new_model_like import AddNewModelLikeCommand
from .convert import ConvertCommand
from .download import DownloadCommand
from .env import EnvironmentCommand
from .lfs import LfsCommands
from .pt_to_tf import PTtoTFCommand
from .run import RunCommand
from .serving import ServeCommand
from .user import UserCommands

def      __lowercase					( ):







				"""simple docstring"""






				__magic_name__		:Union[str, Any]        =      ArgumentParser('''Transformers CLI tool''',  usage='''transformers-cli <command> [<args>]''' )
				__magic_name__		:Union[str, Any]        =      parser.add_subparsers(help='''transformers-cli command helpers''' )

				# Register commands
				ConvertCommand.register_subcommand(snake_case )
				DownloadCommand.register_subcommand(snake_case )
				EnvironmentCommand.register_subcommand(snake_case )
				RunCommand.register_subcommand(snake_case )
				ServeCommand.register_subcommand(snake_case )
				UserCommands.register_subcommand(snake_case )
				AddNewModelCommand.register_subcommand(snake_case )
				AddNewModelLikeCommand.register_subcommand(snake_case )
				LfsCommands.register_subcommand(snake_case )
				PTtoTFCommand.register_subcommand(snake_case )

				# Let's go
				__magic_name__		:str        =      parser.parse_args()

				if not hasattr(snake_case,  '''func''' ):
								parser.print_help()
								exit(1 )

				# Run
				__magic_name__		:Optional[int]        =      args.func(snake_case )
				service.run()


if __name__ == "__main__":
					main()














from __future__ import annotations

def      __lowercase					( snake_case,  snake_case ):







				"""simple docstring"""






				__magic_name__		:Tuple        =      0
				__magic_name__		:Tuple        =      len(snake_case ) - 1

				while i < j:
								if nums[i] + nums[j] == target:
												return [i, j]
								elif nums[i] + nums[j] < target:
												__magic_name__		:str        =      i + 1
								else:
												__magic_name__		:List[Any]        =      j - 1

				return []


if __name__ == "__main__":
					import doctest

					doctest.testmod()
					print(f"{two_pointer([2, 7, 11, 15], 9) = }")






