a n,h@sddZddlZddlZddlZejddddlmZddlm Z ddZ dd Z e d kr`e dS) zremoveacct wrapper for T2CNz/opt/support/lib)cpuser_safe_arg)cpuwatch_execvcCs*tjdd}|jddtd|}|jS)zParse commandline argumentszWrapper around CPanel removeacct. Do not use this unless you have a valid backup of the account, as it is irreversible. Improper use may result in loss of access and disciplinary action.) descriptionuserzAccount to destroy)helptype)argparseArgumentParser add_argumentr parse_argsr)parserargsr./opt/tier2c/safe_removeacct.pyr s r cCs6t}d}ttj|s&tdtd|gdS)zs