
    `gj                    (    d Z ddlmZ ddlmZ ddZy)z``hermes backup`` 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dd       |j                  d	d
dd       |j                  ddd       |j                  |       y)z3Attach the ``backup`` subcommand to ``subparsers``.backupz+Back up Hermes home directory to a zip filezCreate a zip archive of your entire Hermes configuration, skills, sessions, and data (excludes the hermes-agent codebase). Use --quick for a fast snapshot of just critical state files.)helpdescriptionz-oz--outputzGOutput path for the zip file (default: ~/hermes-backup-<timestamp>.zip))r   z-qz--quick
store_truezNQuick snapshot: only critical state files (config, state.db, .env, auth, cron))actionr   z-lz--labelz/Label for the snapshot (only used with --quick))funcN)
add_parseradd_argumentset_defaults)
subparsers
cmd_backupbackup_parsers      P/root/.hermes/venv/lib/python3.12/site-packages/hermes_cli/subcommands/backup.pybuild_backup_parserr      s    
 )):H * M V  
 ]	   iO   J/    N)r   r   returnNone)__doc__
__future__r   typingr   r    r   r   <module>r      s    # 0r   