
    ߩ^j	                    *    d Z ddlmZ ddlmZ d
dZd	S )z``hermes config`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callable
cmd_configr   returnNonec               L   |                      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)S )*z3Attach the ``config`` subcommand to ``subparsers``.configzView and edit configurationz!Manage Hermes Agent configuration)helpdescriptionconfig_command)destshowzShow current configuration)r
   editzOpen config file in editorgetz$Print a resolved configuration valuekey?zConfiguration key (e.g., model))nargsr
   z--json
store_truezPrint value as JSON)actionr
   setzSet a configuration valuez1Configuration key (e.g., model, terminal.backend)valuezValue to setz--forcez~Skip the unknown-key notice printed after writing a key the running version doesn't recognize (the value is saved either way).unsetzRemove a configuration valuezConfiguration key to removepathzPrint config file pathzenv-pathzPrint .env file pathcheckz!Check for missing/outdated configmigratezUpdate config with new options)funcN)
add_parseradd_subparsersadd_argumentset_defaults)
subparsersr   config_parserconfig_subparsers
config_get
config_setconfig_unsets          ?/home/ice/.hermes/hermes-agent/hermes_cli/subcommands/config.pybuild_config_parserr(      s(   
 ))*7 *  M
 &44:J4KK   .J KKK   .J KKK #--: .  J E3TUUUH\@UVVV #--e:U-VVJSR     G3^DDDM     %//4 0  L e35RSSS   .F GGG   2H III   /R SSS   1Q RRRJ/////    N)r   r   r   r   )__doc__
__future__r   typingr   r(    r)   r'   <module>r.      sS     # " " " " "      80 80 80 80 80 80r)   