





'''simple docstring'''






from argparse import ArgumentParser

from .env import EnvironmentCommand
def        UpperCamelCase__				(		):





      """simple docstring"""


      _lowerCAmelCase												=							ArgumentParser("""Diffusers CLI tool"""							,     usage="""diffusers-cli <command> [<args>]"""  )
      _lowerCAmelCase												=							parser.add_subparsers(help="""diffusers-cli command helpers"""  )

      # Register commands
      EnvironmentCommand.register_subcommand(lowerCAmelCase  )

      # Let's go
      _lowerCAmelCase												=							parser.parse_args()

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

      # Run
      _lowerCAmelCase												=							args.func(lowerCAmelCase  )
      service.run()


if __name__ == "__main__":
      main()













'''simple docstring'''






def        UpperCamelCase__				(		lowerCAmelCase							,     lowerCAmelCase  ):





      """simple docstring"""


      if len(lowerCAmelCase  ) != len(lowerCAmelCase  ):
            raise ValueError("""String lengths must match!"""  )

      _lowerCAmelCase												=							0

      for chara, chara in zip(lowerCAmelCase							,     lowerCAmelCase  ):
            if chara != chara:
                  count += 1

      return count


if __name__ == "__main__":
      import doctest

      doctest.testmod()






