
    `gj	                    (    d Z ddlmZ ddlmZ ddZy)z``hermes config`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callablec                  | j                  ddd      }|j                  d      }|j                  dd	       |j                  d
d	       |j                  dd	      }|j                  ddd       |j                  ddd       |j                  dd	      }|j                  ddd       |j                  ddd       |j                  ddd       |j                  dd	      }|j                  ddd       |j                  d d!	       |j                  d"d#	       |j                  d$d%	       |j                  d&d'	       |j                  |(       y))*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)
subparsers
cmd_configconfig_parserconfig_subparsers
config_get
config_setconfig_unsets          P/root/.hermes/venv/lib/python3.12/site-packages/hermes_cli/subcommands/config.pybuild_config_parserr&      s   
 ))*7 * M
 &44:J4K   .J K   .J K #--: . J E3TUH\@UV #--e:U-VJSR   G3^DM   %//4 0 L e35RS   .F G   2H I   /R S   1Q RJ/    N)r   r   returnNone)__doc__
__future__r   typingr   r&    r'   r%   <module>r.      s    # 80r'   