
    PmjF                    *    d Z ddlmZ ddlmZ d
dZd	S )a  ``hermes import-agent`` subcommand parser.

Follows the ``hermes claw`` pattern (see ``hermes_cli/subcommands/claw.py``):
parser building lives here, the handler is injected to avoid importing
``main``, and the import logic itself lives in ``hermes_cli/agent_import.py``.
    )annotations)Callablecmd_import_agentr   returnNonec               X   |                      ddd          }|                    ddddgd	
           |                    dd           |                    ddd           |                    ddd           |                    dddd           |                    |           dS )z9Attach the ``import-agent`` subcommand to ``subparsers``.zimport-agentz3Import a Claude Code or Codex CLI setup into Hermesu:  One-command import of another coding agent's setup into Hermes. Maps CLAUDE.md/AGENTS.md instructions, permission allowlists, MCP servers, skills, and memories into their Hermes equivalents. Always shows a preview before making changes. API keys and credentials are never imported — run 'hermes setup' for those.)helpdescriptionagent?zclaude-codecodexzGWhich agent to import from (default: auto-detect ~/.claude or ~/.codex))nargschoicesr	   z--sourcezEPath to the agent's config directory (default: ~/.claude or ~/.codex))r	   z	--dry-run
store_trueu:   Preview only — stop after showing what would be imported)actionr	   z--overwritezAOverwrite existing Hermes items on name conflicts (default: skip)z--yesz-yzSkip confirmation prompts)funcN)
add_parseradd_argumentset_defaults)
subparsersr   parsers      I/home/thesage/.hermes/hermes-agent/hermes_cli/subcommands/import_agent.pybuild_import_agent_parserr      s   ""BO	 # 
 
F (V	     T     I    
 P    
 l1L     -.....    N)r   r   r   r   )__doc__
__future__r   typingr   r    r   r   <module>r      sS     # " " " " "      $/ $/ $/ $/ $/ $/r   