
"""simple docstring"""





from argparse import ArgumentParser

from .env import EnvironmentCommand







def 	__a     (		):
   UpperCAmelCase_					:					str			     =    ArgumentParser("Diffusers CLI tool",		usage="diffusers-cli <command> [<args>]"  )
   UpperCAmelCase_					:					Optional[int]			     =    parser.add_subparsers(help="diffusers-cli command helpers"  )

   # Register commands
   EnvironmentCommand.register_subcommand(__lowerCamelCase  )

   # Let's go
   UpperCAmelCase_					:					Optional[Any]			     =    parser.parse_args()

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

   # Run
   UpperCAmelCase_					:					List[str]			     =    args.func(__lowerCamelCase  )
   service.run()


if __name__ == "__main__":
    main()








def 		__A		(	__lowerCamelCase    )      ->       int:
	a										=							0
	while num > 0:
		digit_sum += num % 10
		num //= 10
	return digit_sum





def 		__A		(	__lowerCamelCase = 100    )      ->       int:
	a										=							1
	a										=							2

	for i in range(2							,			max_n + 1    ):
		a										=							pre_numerator
		a										=							2 * i // 3 if i % 3 == 0 else 1
		a										=							cur_numerator
		a										=							e_cont * pre_numerator + temp

	return sum_digits(__lowerCamelCase    )


if __name__ == "__main__":
		print(F'{solution() = }')

