





"""simple docstring"""




import argparse

from .config import config_command_parser
from .config_args import default_config_file, load_config_from_file  # noqa: F401
from .default import default_command_parser
from .update import update_command_parser





def 	a_    (							_lowercase=None       ):
						_UpperCamelCase      : Union[str, Any]         =   argparse.ArgumentParser(add_help=_lowercase	,						allow_abbrev=_lowercase       )
						# The main config parser
						_UpperCamelCase      : List[Any]         =   config_command_parser(_lowercase       )
						# The subparser to add commands to
						_UpperCamelCase      : List[str]         =   config_parser.add_subparsers(title='''subcommands'''	,						dest='''subcommand'''       )

						# Then add other parsers with the parent parser
						default_command_parser(_lowercase	,						parents=[parent_parser]       )
						update_command_parser(_lowercase	,						parents=[parent_parser]       )

						return config_parser





def 	a_    (							):
						_UpperCamelCase      : Dict         =   get_config_parser()
						_UpperCamelCase      : Any         =   config_parser.parse_args()

						if not hasattr(_lowercase	,						'''func'''       ):
												config_parser.print_help()
												exit(1       )

						# Run
						args.func(_lowercase       )


if __name__ == "__main__":
		main()










"""simple docstring"""




def 	a_    (							_lowercase = 100       ):
						_UpperCamelCase      : List[Any]         =   0
						_UpperCamelCase      : Optional[Any]         =   0
						for i in range(1	,						n + 1       ):
												sum_of_squares += i**2
												sum_of_ints += i
						return sum_of_ints**2 - sum_of_squares


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



