+
   3.Ml                   j    ^ RI t ^ RIt^RIHtHtHtHtHtHtH	t	H
t
Ht R R ltR R ltR	R R lltR# )
    N)	get_includeget_pkgconfig_dirget_plugin_dirget_vsscriptregister_installregister_legacy_installregister_vfwvapoursynth_check_envvapoursynth_configc                    V ^8  d   QhRR/# )   returnN )formats   "5/usr/lib/python3.14/site-packages/vapoursynth/_cli.py__annotate__r      s     7 7$ 7    c                  D    ^ RI p V P                  R\        4       .4       R# )r   Nzexplorer.exe)
subprocessrunr   )r   s    r   _open_plugin_dirr      s    NNNN$456r   c                8    V ^8  d   QhR\         P                  /# )r   r   )argparseArgumentParser)r   s   "r   r   r      s     P Ph-- Pr   c                     \         P                  ! R RRR R7      p V P                  RRRRR	7      pVP                  R
RRR7      pVP	                  R R7       VP                  RRRR7      pVP	                  R R7       VP                  RRRR7      pVP	                  R R7       VP                  RRRR7      pVP	                  R R7       VP                  RRRR7      pVP	                  R R7       VP                  R R!R"R7      pVP	                  R# R7       VP                  R$R%R&R7      pVP	                  R' R7       \
        P                  R(8X  dv   VP                  R)R*R+R7      p	V	P	                  R, R7       VP                  R-R.R/R7      p
V
P	                  R0 R7       VP                  R1R2R3R7      pVP	                  R4 R7       V # )5vapoursynthz!VapourSynth command line utility.zSExamples:
  vapoursynth config
  vapoursynth check-env
  vapoursynth get-plugin-dirc                 2    \         P                  ! V ^ R7      # )    )max_help_position)r   RawDescriptionHelpFormatter)progs   &r   <lambda>build_parser.<locals>.<lambda>   s    X%I%I$bd%er   )r!   descriptionepilogformatter_classcommandscommandCOMMANDF)titledestmetavarrequiredconfigz5Write or update the VapourSynth runtime configurationz;Write or update the VapourSynth runtime configuration file.)helpr$   c                      \        4       # N)r   _s   *r   r"   r#   %   s    /A/Cr   )funcz	check-envz/Show the current VapourSynth environment statusz0Show the current VapourSynth environment status.c                      \        4       # r1   )r
   r2   s   *r   r"   r#   ,   s    2G2Ir   zget-vsscriptz'Print the bundled VSScript library pathz(Print the bundled VSScript library path.c                  (    \        \        4       4      # r1   )printr   r2   s   *r   r"   r#   3   s    U<>5Jr   zget-includez#Print the bundled include directoryz$Print the bundled include directory.c                  (    \        \        4       4      # r1   )r7   r   r2   s   *r   r"   r#   :   s    E+-4Hr   zget-pkgconfig-dirz%Print the bundled pkgconfig directoryz&Print the bundled pkgconfig directory.c                  (    \        \        4       4      # r1   )r7   r   r2   s   *r   r"   r#   A   s    %@Q@S:Tr   zget-plugin-dirz"Print the bundled plugin directoryz#Print the bundled plugin directory.c                  (    \        \        4       4      # r1   )r7   r   r2   s   *r   r"   r#   H   s    u^=M7Nr   zregister-installz9Register the current installation in the user environmentz:Register the current installation in the user environment.c                      \        4       # r1   )r   r2   s   *r   r"   r#   O   s    9I9Kr   win32zopen-plugin-dirz-Open the bundled plugin directory in Explorerz.Open the bundled plugin directory in Explorer.c                      \        4       # r1   )r   r2   s   *r   r"   r#   W   s    <L<Nr   zregister-legacy-installz*Write legacy installation registry entriesz+Write legacy installation registry entries.c                      \        4       # r1   )r   r2   s   *r   r"   r#   ^   s    D[D]r   zregister-vfwz%Register the VapourSynth VFW providerz&Register the VapourSynth VFW provider.c                      \        4       # r1   )r	   r2   s   *r   r"   r#   e   s    r   )r   r   add_subparsers
add_parserset_defaultssysplatform)parser
subparsersconfig_parsercheck_env_parserget_vsscript_parserget_include_parserget_pkgconfig_dir_parserget_plugin_dir_parserregister_install_parseropen_plugin_dir_parserregister_legacy_install_parserregister_vfw_parsers               r   build_parserrQ      sI   $$7ge	F &&ZiQZej&kJ))DQ * M
 $CD!,,>F - 
 !!'I!J$//6> 0 
 $$*J$K#..2: / 
 ##)H#I)444<  5  
 ))/T)U&1119 2 
 &&,N&O(33HP 4 
 ((.K(L
||w!+!6!6@H "7 "

 	++1N+O)3)>)>%=E *? *
&
 	'339]3^(338@ 4 

 	((.G(HMr   c                T    V ^8  d   QhR\         \        ,          R,          R\        /# )r   argvNr   )liststrint)r   s   "r   r   r   j   s#     	 	tCy4 	3 	r   c                     \        4       pVP                  V 4      pVP                  f   VP                  4        ^ # VP	                  V4       ^ # r1   )rQ   
parse_argsr(   
print_helpr4   )rS   rE   argss   &  r   mainr[   j   s@    ^FT"D||IIdOr   r1   )r   rC   _utilsr   r   r   r   r   r   r	   r
   r   r   rQ   r[   r   r   r   <module>r]      s0     

 
 
7Pf	 	r   