U
    g|	                     @   st   d dl mZmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ eG dd dZeG d	d
 d
ZdS )    )	dataclassfield)Optional)	CLIConfig)PdfSignatureMetadata)SigFieldSpec)BaseStampStylec                   @   s   e Zd ZU dZdZeed< dS )	UXContextz
    Context object to track information that affects the UX, e.g. user intent
    as inferred from certain argument combinations that are otherwise difficult
    to wire throughout the UI code.
    Fvisible_signature_desiredN)__name__
__module____qualname____doc__r
   bool__annotations__ r   r   4/tmp/pip-unpacked-wheel-owvgwkas/pyhanko/cli/_ctx.pyr	   
   s   
r	   c                   @   s   e Zd ZU dZdZee ed< dZee	 ed< dZ
eed< dZee ed< dZee ed< dZee ed	< dZee ed
< dZeed< dZeed< dZeed< eedZeed< dS )
CLIContextax  
    Context object that cobbles together various CLI settings values that were
    gathered by various subcommands during the lifetime of a CLI invocation,
    either from configuration or from command line arguments.
    This object is passed around as a ``click`` context object.

    Not all settings are applicable to all subcommands, so all values are
    optional.
    Nsig_settingsconfigFexisting_fields_onlytimestamp_urlstamp_style	stamp_urlnew_field_spec
prefer_pss
detach_pemlenient)default_factoryux)r   r   r   r   r   r   r   r   r   r   r   r   r   strr   r   r   r   r   r   r   r   r   r	   r   r   r   r   r   r      s   

r   N)Zdataclassesr   r   typingr   Zpyhanko.cli.configr   Zpyhanko.signr   Zpyhanko.sign.fieldsr   Zpyhanko.stampr   r	   r   r   r   r   r   <module>   s   