o
    l>j7                     @  s  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B ej!deedf Z"ee dB ej!deedf Z#ee dB ej!deedf Z$ee%dB ej!deedf Z&ee%ej!deedf Z'ee%ej!deedf Z(ee dB ej!d eedf Z)ee dB ej!d!eedf Z*ee%ej!d"eedf Z+ee
ej!d#d$eed%f Z,eeej!d&d$eed%f Z-ee%ej!d'eedf Z.dddd(d$d$dddd$eed)dAd?d@Z/dS )Bz>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                C  s(   |||||||||	|
||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    r#   I/home/thesage/.local/lib/python3.10/site-packages/pyicloud/cli/options.pystore_command_options   s   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    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#   r#   r$   <module>   s*   		