


"""simple docstring"""





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       lowerCamelCase_       (   )						->str:





  """simple docstring"""


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

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

  # Let's go
  __UpperCAmelCase    :						List[str]       =						parser.parse_args()

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

  # Run
  __UpperCAmelCase    :						List[Any]       =						args.func(_lowerCAmelCase  )
  service.run()


if __name__ == "__main__":
  main()






"""simple docstring"""





def       lowerCamelCase_       (   UpperCAmelCase_ = 10_00  )						->int:





  """simple docstring"""


  return sum(2 * a * ((a - 1) // 2) for a in range(3  ,			n + 1  )  )


if __name__ == "__main__":
  print(solution())