+
    :iF  c                   s   ^ RI t ^ RIt^ RIt^RIHt ^RIHtHt ] P                  ! ]	4      t
RtR t]! R]! RR7      R	7      ]P                  ]P                  ! R
R]P                   ! RR7      RRRR7      ]P"                  ! R]P$                  ! R4      RR7      ]P"                  ! RR]P&                  R7      ]]R 4       4       4       4       4       4       4       tR# )i    N)	scripting)click_commandclick_force_optionz
WARNING: Never run a script without fully understanding what it does!

Scripts are very powerful, and have the power to harm to both your YubiKey and
your computer.

ONLY run scripts that you fully trust!
c                 s    V P                   P                  R P                  \        P	                  4       4      4      V n         V # )z
    )Z__doc__ZformatZjoin_WARNINGZ
splitlines)Zobjs   &6/usr/lib/python3.14/site-packages/ykman/_cli/script.py_add_warningr   1   s/    ++$$X]]83F3F3H%IJCKJ    scriptT)Zignore_unknown_options)Zcontext_settingsz-sz
--site-dir)ZexistsZDIRz6specify additional path(s) to load python modules from)typeZmultiplemetavarZhelpZrbZFILE)r   r	   	arguments)Znargsr   c                s:   V'       g!   \         P                  ! \         R2RRR7       V F8  p\        P	                  RV4       \
        P                  P                  V4       K:  	  VP                  4       pVP                  .VO\
        n
        \        V/ 4       R# )a  
Run a python script.

{0}

Argument can be passed to the script by adding them after the end of the
command. These will be accessible inside the script as sys.argv, with the script
name as the initial value. For more information on scripting, see the "Scripting"
page in the documentation.

Examples:


  Run the file "myscript.py", passing arguments "123456" and "indata.csv":
  $ ykman script myscript.py 123456 indata.csv

zW
You can bypass this message by running the command with the --force flag.

Run script?T)ZabortZerrzAdd %s to path.N)clickZconfirmr   loggerZdebugsysZpathZappendZreadZnameZargvZexec)ZctxZsite_dirr   r
   ZforceZsdZscript_bodys   &&&&&  r   
run_scriptr   6   s    H j   	
 &+  ++-K(i(CHbr   i)Zloggingr   r   Z r    Zutilr   r   Z	getLoggerZ__name__r   r   r   ZdictZpass_contextZoptionZPathZargumentZFileZUNPROCESSEDr   ) r   r   <module>r      s   8  
   3			8	$
 6 	4	 	A uzz$/@2E,=,=>$   ? A 	"$r   