


from argparse import ArgumentParser

from .env import EnvironmentCommand






def 	__lowerCamelCase						(							):





			'''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()





import random
from typing import Any






def 	__lowerCamelCase						(							lowerCamelCase__		:						list      ):





			'''simple docstring'''




			for _ in range(len(lowerCamelCase__      )      ):
						lowerCamelCase    		=  random.randint(0  ,							len(lowerCamelCase__      ) - 1      )
						lowerCamelCase    		=  random.randint(0  ,							len(lowerCamelCase__      ) - 1      )
						lowerCamelCase		,		lowerCamelCase    		=  data[b], data[a]
			return data


if __name__ == "__main__":
		UpperCAmelCase   :    str     =		[0, 1, 2, 3, 4, 5, 6, 7]
		UpperCAmelCase   :    Union[str, Any]     =		["python", "says", "hello", "!"]
		print("Fisher-Yates Shuffle:")
		print("List", integers, strings)
		print("FY Shuffle", fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))

