
    =[j7                    z   d Z ddlmZ ddlmZ ddlZddlmZmZ ddl	m
Z
 dZd	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZej        Ze
j        Zee dz   ej!        dee          f         Z"ee dz   ej!        dee          f         Z#ee dz   ej!        dee          f         Z$ee%dz   ej!        dee          f         Z&ee% ej!        dee          f         Z'ee% ej!        dee          f         Z(ee dz   ej!        d ee          f         Z)ee dz   ej!        d!ee          f         Z*ee% ej!        d"ee          f         Z+ee
 ej!        d#d$ee%          f         Z,ee ej!        d&d$ee%          f         Z-ee% ej!        d'ee          f         Z.dddd(d$d$dddd$eed)d@d?Z/dS )Az>Shared Typer option aliases and helpers for CLI leaf commands.    )annotations)	AnnotatedN   )COMMAND_OPTIONS_META_KEYLogLevel)OutputFormatzAccount ContextAuthenticationNetworkzOutput & DiagnosticsDeviceszApple ID username.z\Apple ID password. If omitted, pyicloud will use the system keyring or prompt interactively.z/Use China mainland Apple web service endpoints.z&Enable or disable interactive prompts.z4Automatically accept pending Apple iCloud web terms.z2Include family devices in Find My device listings.z,Directory to store session and cookie files.zHTTP proxy URL for requests.zHTTPS proxy URL for requests.z&Disable SSL verification for requests.z%Logging level for pyicloud internals.z"Output format for command results.z
--username)helprich_help_panelz--session-dirz
--passwordz--china-mainlandz--interactive/--non-interactivez--accept-termsz--http-proxyz--https-proxyz--no-verify-sslz--formatF)case_sensitiver   r   z--log-levelz--with-familyTusernamepasswordchina_mainlandinteractiveaccept_termswith_familysession_dir
http_proxyhttps_proxyno_verify_ssl	log_leveloutput_formatctxtyper.Contextr   
str | Noner   r   bool | Noner   boolr   r   r   r   r   r   r   r   r   r   returnNonec               >    |||||||||	|
||d| j         t          <   dS )zHPersist leaf-command options into the Typer context for CLI state setup.r   N)metar   )r   r   r   r   r   r   r   r   r   r   r   r   r   s                \/home/thesage/.hermes/hermes-agent/venv/lib/python3.11/site-packages/pyicloud/cli/options.pystore_command_optionsr&      sB    & ("$"" "&&* *CH%&&&    )r   r   r   r   r   r   r   r   r   r    r   r    r   r    r   r   r   r   r   r   r   r    r   r   r   r   r!   r"   )0__doc__
__future__r   typingr   typercontextr   r   outputr   ACCOUNT_CONTEXT_PANELAUTHENTICATION_PANELNETWORK_PANELOUTPUT_DIAGNOSTICS_PANELDEVICES_PANELUSERNAME_OPTION_HELPPASSWORD_OPTION_HELPCHINA_MAINLAND_OPTION_HELPINTERACTIVE_OPTION_HELPACCEPT_TERMS_OPTION_HELPWITH_FAMILY_OPTION_HELPSESSION_DIR_OPTION_HELPHTTP_PROXY_OPTION_HELPHTTPS_PROXY_OPTION_HELPNO_VERIFY_SSL_OPTION_HELPLOG_LEVEL_OPTION_HELPOUTPUT_FORMAT_OPTION_HELPWARNINGDEFAULT_LOG_LEVELTEXTDEFAULT_OUTPUT_FORMATstrOptionUsernameOptionSessionDirOptionPasswordOptionr    ChinaMainlandOptionInteractiveOptionAcceptTermsOptionHttpProxyOptionHttpsProxyOptionNoVerifySslOptionOutputFormatOptionLogLevelOptionWithFamilyOptionr&    r'   r%   <module>rR      s   D D " " " " " "        7 7 7 7 7 7 7 7            ) ' 1 +   O B Q N H 7 9 D ? @ $ $) $JEL!-   $JEL$-    $JEL!,    4KEL',    EL)$,    EL%,    $JEL#%   $JEL$%    EL&%    EL&0	    EL"0	   EL$%     "&"!"+"7       r'   