o |nh@sddlmZddlmZmZddlmZmZddlm Z ddl m Z GdddeZ Gd d d e Z ddddZedkrAed Sd S)) annotations)OptionalList)App CaughtSignal)Base)FrameworkErrorc@eZdZGdddZdS) CementAppc@s2eZdZdZdZdZdZdZdZgdZ e gZ dS) zCementApp.Metacementbasezcement.cli.templatesjinja2yamlz.yml)generaterrN) __name__ __module__ __qualname__label controllertemplate_moduletemplate_handlerconfig_handlerconfig_file_suffix extensionsrhandlersrrG/usr/local/bin/dhwp/env/lib/python3.10/site-packages/cement/cli/main.pyMeta srNrrrrrrrrr r c@r ) CementTestAppc@s*eZdZUgZded<gZded<dZdS)zCementTestApp.Metaz List[str]argv config_filesFN)rrrr"__annotations__r# exit_on_closerrrrrs  rNrrrrrr!r r!Nr"Optional[List[str]]returnNonec Csz ddl}ddl}Wn tytdwtZ}z|Wn:ty?}ztd|jdd|_ WYd}~n(d}~wt yZ}ztd|d|_ WYd}~nd}~wwWddSWddSWddS1svwYdS)NrzmCement CLI Dependencies are missing! Install cement[cli] extras package to resolve -> pip install cement[cli]zAssertionError > r ) rrModuleNotFoundErrorr r runAssertionErrorprintargs exit_coder)r"rrapperrrmain$s.  "r2__main__)N)r"r&r'r() __future__rtypingrrr rrcontrollers.basercement.core.excr r r!r2rrrrrs