/usr/lib/python3/dist-packages/uaclient/cli/__pycache__
NameSizeModeActions
api.cpython-310.pyc21050644editdlrm
attach.cpython-310.pyc40180644editdlrm
auto_attach.cpython-310.pyc11240644editdlrm
cli_util.cpython-310.pyc86480644editdlrm
collect_logs.cpython-310.pyc17610644editdlrm
commands.cpython-310.pyc38540644editdlrm
config.cpython-310.pyc66390644editdlrm
cve.cpython-310.pyc46180644editdlrm
cves.cpython-310.pyc31850644editdlrm
detach.cpython-310.pyc29830644editdlrm
disable.cpython-310.pyc63980644editdlrm
enable.cpython-310.pyc109110644editdlrm
fix.cpython-310.pyc205560644editdlrm
formatter.cpython-310.pyc79720644editdlrm
help.cpython-310.pyc13360644editdlrm
parser.cpython-310.pyc32940644editdlrm
refresh.cpython-310.pyc23760644editdlrm
security_status.cpython-310.pyc18530644editdlrm
status.cpython-310.pyc18640644editdlrm
system.cpython-310.pyc12430644editdlrm
__init__.cpython-310.pyc72210644editdlrm
Edit: /usr/lib/python3/dist-packages/uaclient/cli/__pycache__/commands.cpython-310.pyc (3854B)
o Ki@stddlZddlmZmZmZmZddlmZddlm Z GdddZ GdddZ Gd d d Z Gd d d Z dS) N)CallableIterableOptionalUnion)messages) HelpCategoryc@sDeZdZ d dededeefddZdeejej ffdd Z dS) ProArgumentN long_namehelp short_namecKs(|dur|fn||f|_||_||_dSN)namesr additional_args)selfr r r kwargsr7/usr/lib/python3/dist-packages/uaclient/cli/commands.py__init__ s zProArgument.__init__targetcCs|j|jd|ji|jdS)Nr ) add_argumentr r r)rrrrrregisters zProArgument.registerr ) __name__ __module__ __qualname__strrrrargparseArgumentParser_ArgumentGrouprrrrrrs  rc@s(eZdZ  ddedeefddZdS) !ProArgumentMutuallyExclusiveGroupFrrequired argumentscCs||_||_dSr )rr )rrr rrrrs z*ProArgumentMutuallyExclusiveGroup.__init__N)Fr)rrrboolrrrrrrrrsrc @sPeZdZ    d deedeedeedeefddZd e j fd d Z dS) ProArgumentGroupNrtitle descriptionr mutually_exclusive_groupscCs||_||_||_||_dSr )r#r$r r%)rr#r$r r%rrrr)s  zProArgumentGroup.__init__parsercCsd|}|jr ||j|j}|jD]}||q|jD]}|j|jd}|jD]}||q'qdS)N)r)r#add_argument_groupr$r rr%add_mutually_exclusive_groupr)rr&rargumentgroup new_grouprrrr7s     zProArgumentGroup.register)NNrr) rrrrrrrrrrrrrrrrr"(s" r"c@sheZdZdddddddfdeded ed ed ed eed eddee de fddZ de j fddZdS) ProCommandcOsdSr r)argsrrrrOszProCommand.FrNrnamer r$actionpreserve_descriptionargument_groups subcommands help_category help_positionc Cs:||_||_||_||_||_||_||_||_| |_dSr ) r/r r$r0r1r2r3r4r5) rr/r r$r0r1r2r3r4r5rrrrJs  zProCommand.__init__ subparserscCs|j|j|j|jd|_|jrtj|j_|j r%|jj |j |j|j|j d|j D]}| |jq(|jj|jd|jrP|jjtjdd}|jD] }| |qHdSdS)N)r r$)categoryr/ help_stringposition)r0command)r#dest) add_parserr/r r$r&r1rRawDescriptionHelpFormatterformatter_classr4add_help_entryr5r2r set_defaultsr0r3add_subparsersrCLI_AVAILABLE_COMMANDS)rr6argument_groupr:rrrr`s4    zProCommand.register)rrrrrr!rr"rrintrr_SubParsersActionrrrrrr,Is6  r,)rtypingrrrruaclientruaclient.cli.parserrrrr"r,rrrrs   !