
    oq'j                    *    d Z ddlmZ ddlmZ d
dZd	S )z``hermes backup`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callable
cmd_backupr   returnNonec                   |                      ddd          }|                    ddd           |                    d	d
dd           |                    ddd           |                    |           dS )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)
subparsersr   backup_parsers      B/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/backup.pybuild_backup_parserr      s    
 )):H *  M V    
 ]	     iO     J/////    N)r   r   r   r   )__doc__
__future__r   typingr   r    r   r   <module>r      sS     # " " " " "      0 0 0 0 0 0r   