+
    i%                        ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIHtHtH	t	H
t
HtHt ]P                  R8X  d   ^ RIHt  ^ RIt^RIHtHtHt ^RIHt R	 R
 lt]P8                  ! 4       ]P:                  ! RR]! 4       ]P<                  ! RR7      RR7      ]P:                  ! RRR]P>                  ! . R;O4      RR7      ]P:                  ! RRR]P@                  RR7      ]PB                  ! ]R7      ]PD                  R R l4       4       4       4       4       4       t#]R R l4       t$]#PK                  RR7      ]PD                  ]P:                  ! R R!R"]P>                  ! . R<O4      R#R7      R$ R% l4       4       4       t&]#PK                  R&R7      ]PD                  ]PN                  ! R'RR(7      ]PN                  ! R)RR(7      R* R+ l4       4       4       4       t(]#PK                  4       ]PD                  ]PN                  ! R'RR(7      R, R- l4       4       4       t)]#PK                  4       ]PD                  ]PN                  ! R'RR(7      R. R/ l4       4       4       t*]#PK                  R0R/R17      ]PD                  ]P:                  ! R2RR3R47      ]PN                  ! R5R=]PV                  R67      R7 R8 l4       4       4       4       t,R9 R: lt-R#   ] d2    ]P$                  P'                  R4       ]P(                  ! ^4        ELi ; i)>    N)contextmanager)IOAnyDictIteratorListOptionalwin32)PopenzkIt seems python-dotenv is not installed with cli option. 
Run pip install "python-dotenv[cli]" to fix this.)dotenv_valuesset_key	unset_key)__version__c                :    V ^8  d   QhR\         \        ,          /# )   return)r	   str)formats   "Q/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/dotenv/cli.py__annotate__r      s      x}     c                      \         P                  ! 4       p \         P                  P	                  T R4      pT#   \         d     R# i ; i)zN
Return a path for the ${pwd}/.env file.

If pwd does not exist, return None.
Nz.env)osgetcwdFileNotFoundErrorpathjoin)cwdr   s     r   enumerate_envr      sA    iik 77<<V$DK  s   9 AAz-fz--fileT)	file_okayzNLocation of the .env file, defaults to .env file in current working directory.)defaulttypehelpz-qz--quotealwayszbWhether to quote or not the variable values. Default mode is always. This does not affect parsing.z-ez--exportFz;Whether to write the dot file as an executable bash script.)versionc          
      `    V ^8  d   QhR\         P                  R\        R\        R\        RR/# )r   ctxfilequoteexportr   NclickContextr   )r   s   "r   r   r   >   s3     ? ?U]] ?# ?c ?3 ?4 ?r   c                     RVRVRV/V n         R# )zAThis script is used to set, get or unset values from a .env file.QUOTEEXPORTFILEN)obj)r'   r(   r)   r*   s   &&&&r   clir3   &   s    4 x>CGr   c                p    V ^8  d   QhR\         P                  R\        \        \        ,          ,          /# )r   r   r   )r   PathLiker   r   r   )r   s   "r   r   r   D   s'      bkk hr#w&7 r   c              #    "    \        V 4      ;_uu_ 4       pVx  RRR4       R#   + '       g   i     R# ; i  \         d@   p\        RT 2\        P                  R7       \        P
                  ! ^4        Rp?R# Rp?ii ; i5i)zr
Open a file and yield the corresponding (decoded) stream.

Exits with error code 2 if the file cannot be opened.
NzError opening env file: )r(   )openOSErrorprintsysstderrexit)r   streamexcs   &  r   stream_filer?   C   sW     $ZZ6L ZZZ (.SZZ@sD   B: &: B7	: B: B4A?9B?BBlist)namez--formatoutput_formatsimplezlThe format in which to display the list. Default format is simple, which displays name=value without quotes.c                H    V ^8  d   QhR\         P                  R\        RR/# )r   r'   rB   r   N)r,   r-   r   )r   s   "r   r   r   ]   s%     / /U]] /3 /4 /r   c                   V P                   R,          p\        V4      ;_uu_ 4       p\        VR7      pRRR4       VR8X  d0   \        P                  ! \
        P                  ! X^RR7      4       R# VR8X  d   RMR	p\        X4       FK  pWF,          pVf   K  VR9   d   \        P                  ! V4      p\        P                  ! V V R
V 24       KM  	  R#   + '       g   i     L; i)z!Display all the stored key/value.r1   r=   NjsonT)indent	sort_keysr*   zexport  =)r*   shell)
r2   r?   r   r,   echorG   dumpssortedshlexr)   )r'   rB   r(   r=   valuesprefixkvs   &&      r   list_valuesrU   S   s     776?D	T		ff- 
 

4::fQ$?@+x7RA	A} $77AA

fXaS!-.   
	s   CC)	setkey)requiredvaluec                T    V ^8  d   QhR\         P                  R\        R\        RR/# )r   r'   rW   rY   r   Nr+   )r   s   "r   r   r   t   s,     	 	5== 	s 	3 	4 	r   c                   V P                   R,          pV P                   R,          pV P                   R,          p\        W1W$V4      w  rapV'       d   \        P                  ! V RV 24       R# \        P
                  ! ^4       R# )zStore the given key/value.r1   r/   r0   rK   N)r2   r   r,   rM   r:   r<   )r'   rW   rY   r(   r)   r*   successs   &&&    r   	set_valuer]   p   se     776?DGGGEWWXF!$U6BG%

cU!E7#$r   c                H    V ^8  d   QhR\         P                  R\        RR/# r   r'   rW   r   Nr+   )r   s   "r   r   r      s%      U]]   r   c                0   V P                   R,          p\        V4      ;_uu_ 4       p\        VR7      pRRR4       XP                  V4      pV'       d   \        P
                  ! V4       R# \        P                  ! ^4       R#   + '       g   i     LY; i)z%Retrieve the value for the given key.r1   rF   N)r2   r?   r   getr,   rM   r:   r<   )r'   rW   r(   r=   rQ   stored_values   &&    r   ra   ra      s_    
 776?D	T		ff- 
 ::c?L

<  
	s   BB	c                H    V ^8  d   QhR\         P                  R\        RR/# r_   r+   )r   s   "r   r   r      s%      u}} 3 4 r   c                    V P                   R,          pV P                   R,          p\        W!V4      w  rAV'       d   \        P                  ! RV 24       R# \        P
                  ! ^4       R# )zRemoves the given key.r1   r/   zSuccessfully removed N)r2   r   r,   rM   r:   r<   )r'   rW   r(   r)   r\   s   &&   r   unsetre      sO    
 776?DGGGET.LG

*3%01r   ignore_unknown_options)context_settingsz--override/--no-overridezKOverride variables from the environment file with those from the .env file.)r!   r#   commandline)nargsr"   c                j    V ^8  d   QhR\         P                  R\        R\        \        ,          RR/# )r   r'   overriderh   r   N)r,   r-   boolr   r   )r   s   "r   r   r      s0     - -U]] -d -c -t -r   c                   V P                   R,          p\        P                  P                  V4      '       g   \        P
                  ! RV R2V R7      h\        V4      P                  4        UUu/ uF,  w  rEVf   K  V'       g   V\        P                  9  g   K*  WEbK.  	  pppV'       g-   \        P                  ! R4       \        P                  ! ^4       \        W&4       R# u uppi )z/Run command with environment variables present.r1   zInvalid value for '-f' "z" does not exist.)r'   NzNo command given.)r2   r   r   isfiler,   BadParameterr   itemsenvironrM   r:   r<   run_command)r'   rk   rh   r(   rS   rT   dotenv_as_dicts   &&&    r   runrt      s     776?D77>>$  'v-?@c
 	

 $D)//11FQ 	&!2::*= 	1   

&',s   1C'>C'C'C'c                l    V ^8  d   QhR\         \        ,          R\        \        \        3,          RR/# )r   commandenvr   N)r   r   r   )r   s   "r   r   r      s-      :  :c  :c3h  :D  :r   c                V   \         P                  P                  4       pVP                  V4       \        P
                  R8X  dF   \        V R^ RVR7      pVP                  4       w   p\        P                  ! VP                  4       R# \         P                  ! V ^ ,          WR7       R# )a  Replace the current process with the specified command.

Replaces the current process with the specified command and the variables from `env`
added in the current environment variables.

Parameters
----------
command: List[str]
    The command and it's parameters
env: Dict
    The additional environment variables

Returns
-------
None
    This function does not return any value. It replaces the current process with the new one.

r
   TF)universal_newlinesbufsizerL   rw   )argsrw   N)r   rq   copyupdater:   platformr   communicater<   
returncodeexecvpe)rv   rw   cmd_envp_s   &&   r   rr   rr      sr    * jjooGNN3
||w 'dAUPWX}}1


71:G9r   )r$   neverauto)rC   rG   rL   r*   ).rG   r   rP   r:   
contextlibr   typingr   r   r   r   r   r	   r~   
subprocessr   r,   ImportErrorr;   writer<   mainr   r   r   r%   r   r   groupoptionPathChoiceBOOLversion_optionpass_contextr3   r?   rv   rU   argumentr]   ra   re   UNPROCESSEDrt   rr    r   r   <module>r      s    	  
 % : :<<7  4 3   O	d	#	Y 	1	2	m 		F k*?  + 0?
   &	;	<
0/  /& %%$'	 ( &  	 % &   % &   7>?	V
 Re.?.?@- A  @-& :[  JJ	< HHQKs   J= =4K54K5