from argparse import ArgumentParser

from .env import EnvironmentCommand



def lowerCamelCase  (   ):
    '''simple docstring'''







    __UpperCamelCase     :str			  =		ArgumentParser('''Diffusers CLI tool'''  ,			usage='''diffusers-cli <command> [<args>]'''	)
    __UpperCamelCase     :List[str]			  =		parser.add_subparsers(help='''diffusers-cli command helpers'''	)

    # Register commands
    EnvironmentCommand.register_subcommand(a_	)

    # Let's go
    __UpperCamelCase     :Dict			  =		parser.parse_args()

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

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


if __name__ == "__main__":
    main()







def 						UpperCAmelCase			(	a_						)		->	list:







				"""simple docstring"""



				if len(a_						) <= 1:
								return lst

				__A   			= 1

				while i < len(a_						):
								if lst[i - 1] <= lst[i]:
												i += 1
								else:
												__A			,							__A   			= lst[i], lst[i - 1]
												i -= 1
												if i == 0:
																__A   			= 1

				return lst


if __name__ == "__main__":
					SCREAMING_SNAKE_CASE							:List[Any]							 =				input('Enter numbers separated by a comma:\n').strip()
					SCREAMING_SNAKE_CASE							:List[Any]							 =				[int(item) for item in user_input.split(',')]
					print(gnome_sort(unsorted))
