§
    øžyj  ã                  ó*   — d Z ddlmZ ddlmZ d
d„Zd	S )z�``hermes claw`` subcommand parser.

Extracted from ``hermes_cli/main.py:main()`` (god-file Phase 2 follow-up).
Handler injected to avoid importing ``main``.
é    )Úannotations)ÚCallableÚcmd_clawr   ÚreturnÚNonec               ó<  — |                       ddd¬¦  «        }|                     d¬¦  «        }|                      ddd	¬¦  «        }|                     d
d¬¦  «         |                     ddd¬¦  «         |                     dddgdd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     dd¬¦  «         |                     dg d¢d d!¬¦  «         |                     d"d#dd$¬¦  «         |                      d%d&gd'd(¬)¦  «        }|                     d
d*¬¦  «         |                     ddd+¬¦  «         |                     d"d#dd$¬¦  «         |                     |¬,¦  «         d-S ).z1Attach the ``claw`` subcommand to ``subparsers``.ÚclawzOpenClaw migration toolszHMigrate settings, memories, skills, and API keys from OpenClaw to Hermes)ÚhelpÚdescriptionÚclaw_action)ÚdestÚmigratezMigrate from OpenClaw to Hermesz|Import settings, memories, skills, and API keys from an OpenClaw installation. Always shows a preview before making changes.z--sourcez1Path to OpenClaw directory (default: ~/.openclaw))r
   z	--dry-runÚ
store_trueu:   Preview only â€” stop after showing what would be migrated)Úactionr
   z--presetz	user-dataÚfullup   Migration preset (default: full). Neither preset imports secrets â€” pass --migrate-secrets to include API keys.)ÚchoicesÚdefaultr
   z--overwritezOOverwrite existing files (default: refuse to apply when the plan has conflicts)z--migrate-secretszdInclude allowlisted secrets (TELEGRAM_BOT_TOKEN, API keys, etc.). Required even under --preset full.z--no-backupz­Skip the pre-migration zip snapshot of ~/.hermes/ (by default a single restore-point archive is written to ~/.hermes/backups/ before apply; restorable with 'hermes import').z--workspace-targetz1Absolute path to copy workspace instructions intoz--skill-conflict)ÚskipÚ	overwriteÚrenamer   z2How to handle skill name conflicts (default: skip)z--yesz-yzSkip confirmation promptsÚcleanupÚcleanz5Archive leftover OpenClaw directories after migrationzQScan for and archive leftover OpenClaw directories to prevent state fragmentation)Úaliasesr
   r   z1Path to a specific OpenClaw directory to clean upz5Preview what would be archived without making changes)ÚfuncN)Ú
add_parserÚadd_subparsersÚadd_argumentÚset_defaults)Ú
subparsersr   Úclaw_parserÚclaw_subparsersÚclaw_migrateÚclaw_cleanups         úA/home/ragecks/.hermes/hermes-agent/hermes_cli/subcommands/claw.pyÚbuild_claw_parserr%      s�  € à×'Ò'ØØ'Ø^ð (ñ ô €Kð
 "×0Ò0°mÐ0ÑDÔD€Oð #×-Ò-ØØ.ð8ð .ñ ô €Lð ×ÒØÐLð ñ ô ð ð ×ÒØØØIð ñ ô ð ð
 ×ÒØØ˜fÐ%Øð6ð	 ñ ô ð ð ×ÒØØØ^ð ñ ô ð ð
 ×ÒØØð-ð ñ ô ð ð ×ÒØØð:ð ñ ô ð ð ×ÒØÐ#Vð ñ ô ð ð ×ÒØØ/Ð/Ð/ØØAð	 ñ ô ð ð ×ÒØ�˜lÐ1Lð ñ ô ð ð
 #×-Ò-ØØ�	ØDØgð	 .ñ ô €Lð ×ÒØÐLð ñ ô ð ð ×ÒØØØDð ñ ô ð ð
 ×ÒØ�˜lÐ1Lð ñ ô ð ð ×Ò (ÐÑ+Ô+Ð+Ð+Ð+ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   r%   © r&   r$   ú<module>r+      sY   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ðP,ð P,ð P,ð P,ð P,ð P,r&   