
    G@d                         d dl Z ddZdS )    Nc                    t          j        d          }|                    dddd           |                    dd	ddd
           |                    ddddd           |                    dddd           |                    ddddd           |                    dddd           |                    dddd           |                    ddddd           |                    dddd           |                    d t          dd!"           |                    d#d$dt          d%d&'           |                    d(dd)g d*d+,           |                    d-ddd.           |                    d/dd0d1d2gd3,           |                    d4d5d6d5d7gd8,           |                    d9d:d;<           |                    d=d>ddd?           |                    d@dAdddB           |                    dCdDdddE           |                    dFt          dGddHI           |                    dJdKL           |                    |           }|j        }||fS )MzE
    Convert options into commands.
    Return commands, message
    zspyder [options] files)usagez--new-instance
store_trueFz[Run a new instance of Spyder, even if the single instance mode has been turned on (default))actiondefaulthelpz
--defaultsreset_to_defaultsz(Reset configuration settings to defaults)destr   r   r   z--resetreset_config_fileszRemove all configuration files!z
--optimizezEOptimize Spyder bytecode (this may require administrative privileges)z-wz	--workdirworking_directoryNzDefault working directory)r
   r   r   z--hide-consolez$Hide parent console window (Windows)z--show-consolezJ(Deprecated) Does nothing, now the default behavior is to show the consolez--multithreadmultithreadedzVInternal console is executed in another thread (separate from main application thread)z	--profilez?Profile mode (internal test, not related with Python profiling)z--window-titlez'String to show in the main window title)typer   r   z-pz	--projectprojectz$Path that contains an Spyder project)r   r   r
   r   z--openglopengl_implementation)softwaredesktopglesz#OpenGL implementation to pass to Qt)r   r
   choicesr   z--pathsz#Show all Spyder configuration pathsz--debug-info
debug_infominimalverbosezLevel of internal debugging info to give. 'minimal' only logs a small amount of confirmation messages and 'verbose' logs a lot of detailed information.z--debug-outputterminaldebug_outputfilezPrint internal debugging info to the terminal and a file in the configuration directory or to the terminal and a file called spyder-debug.log in the current working directory. Default is 'terminal'.z--filter-log zComma-separated module name hierarchies whose log messages should be shown. e.g., spyder.plugins.completion,spyder.plugins.editor)r   r   z--safe-mode	safe_modez1Start Spyder with a clean configuration directoryz--no-web-widgetsno_web_widgetszQDisable the usage of web widgets in Spyder (e.g. the Help and Online help panes).z--report-segfaultreport_segfaultz$Report segmentation fault to Github.z
--conf-dirconf_dirz3Choose a configuration directory to use for Spyder.)r   r
   r   r   files*)nargs)argparseArgumentParseradd_argumentstr
parse_argsr    )argvparseroptionsargss       6lib/python3.11/site-packages/spyder/app/cli_options.pyget_optionsr-   
   s   
 $+CDDDF
:	      7     !.     *	     k (	     3	     &	     7     &	     6	     k3     $///2     2	     I&-  	 	 	 V$'  	 	 	 ?     @     #     3     B     s+++%%G=DD=    )N)r#   r-    r.   r,   <module>r0      s4    Z Z Z Z Z Zr.   