Ë
    ÿ`gj¯  ã                  ó$   — d Z ddlmZ ddlZdd„Zy)ay  Shared parser helpers used across multiple CLI subcommand builders.

These were module-level helpers in ``hermes_cli/main.py``. They are pulled
into a neutral module so both ``main.py`` and every
``hermes_cli/subcommands/<group>.py`` builder can import them without an
import cycle. ``main.py`` re-exports them for backwards compatibility, so
existing references keep working.
é    )ÚannotationsNc                óJ   — | j                  ddt        j                  d¬«       y)zƒAttach the ``--accept-hooks`` flag.

    Shared across every agent subparser so the flag works regardless of CLI
    position.
    z--accept-hooksÚ
store_truezuAuto-approve unseen shell hooks without a TTY prompt (equivalent to HERMES_ACCEPT_HOOKS=1 / hooks_auto_accept: true).)ÚactionÚdefaultÚhelpN)Úadd_argumentÚargparseÚSUPPRESS)Úparsers    úQ/root/.hermes/venv/lib/python3.12/site-packages/hermes_cli/subcommands/_shared.pyÚadd_accept_hooks_flagr      s,   € ð ×ÑØØÜ×!Ñ!ðOð õ ó    )r   zargparse.ArgumentParserÚreturnÚNone)Ú__doc__Ú
__future__r   r
   r   © r   r   ú<module>r      s   ðñõ #ã ôr   