




'''simple docstring'''


from argparse import ArgumentParser

from .env import EnvironmentCommand



def  _SCREAMING_SNAKE_CASE     (      ):




     """simple docstring"""


     a_     :							int     						=  ArgumentParser("""Diffusers CLI tool""" ,    usage="""diffusers-cli <command> [<args>]"""				)
     a_     :							Union[str, Any]     						=  parser.add_subparsers(help="""diffusers-cli command helpers"""				)

     # Register commands
     EnvironmentCommand.register_subcommand(UpperCamelCase__				)

     # Let's go
     a_     :							Any     						=  parser.parse_args()

     if not hasattr(UpperCamelCase__ ,    """func"""				):
          parser.print_help()
          exit(1				)

     # Run
     a_     :							str     						=  args.func(UpperCamelCase__				)
     service.run()


if __name__ == "__main__":
 main()






'''simple docstring'''


from __future__ import annotations



def  _SCREAMING_SNAKE_CASE     (      UpperCamelCase__    :					list[float]				):




     """simple docstring"""


     if len(UpperCamelCase__				) < 2:
          raise ValueError("""Monogons and Digons are not polygons in the Euclidean space"""				)
     if any(i <= 0 for i in nums				):
          raise ValueError("""All values must be greater than 0"""				)
     a_     :							int     						=  nums.copy()
     copy_nums.sort()
     return copy_nums[-1] < sum(copy_nums[:-1]				)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
