
    `gj	                    (    d Z ddlmZ ddlmZ ddZy)z``hermes profile`` 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      }|j                  d      }|j                  dd       |j                  dd	      }|j                  d
d       |j                  dd      }|j                  d
d       |j                  ddd       |j                  ddd       |j                  ddd       |j                  ddd       |j                  ddd       |j                  ddd        |j                  d!d"      }|j                  d
d#       |j                  d$d%dd&       |j                  d'd(      }|j                  d
d)dd*+       |j                  d,dd-        |j                  d.dd/       |j                  d0dd1       |j                  d2d3dd45       |j                  d6d7      }|j                  d
d8       |j                  d9d:      }	|	j                  d
d;       |	j                  d<dd=       |	j                  d>d?d@dAB       |j                  dCdD      }
|
j                  dEdF       |
j                  dGdH       |j                  dIdJ      }|j                  d
dK       |j                  dLdMddN        |j                  dOdP      }|j                  dQdR       |j                  d>dSd@dTB       |j                  dUdVdWX      }|j                  dYdZ       |j                  d>d[d@d\B       |j                  d]dd^       |j                  d_dd`       |j                  d$d%dda       |j                  dbdcddX      }|j                  d
de       |j                  dfddg       |j                  d$d%ddh       |j                  didj      }|j                  d
dk       |j                  |l       y)mz4Attach the ``profile`` subcommand to ``subparsers``.profileu6   Manage profiles — multiple isolated Hermes instances)helpprofile_action)destlistzList all profilesusezSet sticky default profileprofile_namezProfile name (or 'default')createzCreate a new profilez&Profile name (lowercase, alphanumeric)z--clone
store_truez?Copy config.yaml, .env, SOUL.md, and skills from active profile)actionr   z--clone-allzFFull copy of active profile (all state, excluding per-profile history)z--clone-fromSOURCEzGSource profile to clone from; implies --clone unless --clone-all is set)metavarr   z
--no-aliaszSkip wrapper script creationz--no-skillszWCreate an empty profile with no bundled skills (opts out of `hermes update` skill sync)z--descriptionNzOne- or two-sentence description of what this profile is good at. Used by the kanban decomposer to route tasks based on role instead of profile name alone. Skip and add later via `hermes profile describe`.)defaultr   deletezDelete a profilezProfile to deletez-yz--yeszSkip confirmation promptdescribezERead or set a profile's description (used by the kanban orchestrator)?z6Profile to describe (omit + use --all --auto to sweep))nargsr   r   z--textzHSet description to this exact text (overwrites any existing description)z--autozRAuto-generate description via the auxiliary LLM (uses auxiliary.profile_describer)z--overwritezsWith --auto, replace user-authored descriptions too (default: only fill in missing or previously-auto descriptions)z--allall_missingz7With --auto, run on every profile missing a description)r	   r   r   showzShow profile detailszProfile to showaliaszManage wrapper scriptszProfile namez--removezRemove the wrapper scriptz--name
alias_nameNAMEz)Custom alias name (default: profile name))r	   r   r   renamezRename a profileold_namezCurrent profile namenew_namezNew profile nameexportzExport a profile to archivezProfile to exportz-oz--outputz$Output file (default: <name>.tar.gz)importzImport a profile from archivearchivezPath to .tar.gz archiveimport_namez-Profile name (default: inferred from archive)installz@Install a profile distribution from a git URL or local directoryzInstall a Hermes profile distribution. SOURCE can be a git URL (github.com/user/repo, https://..., git@...) or a local directory containing distribution.yaml at its root.)r   descriptionsourcez0Distribution source (git URL or local directory)install_namez3Override profile name (default: read from manifest)z--aliasz6Create a shell wrapper alias for the installed profilez--forcezDOverwrite an existing profile of the same name (user data preserved)z"Skip manifest preview confirmationupdatez>Re-pull a distribution and apply updates (user data preserved)zFetch the distribution from its recorded source and overwrite distribution-owned files (SOUL.md, skills/, cron/, mcp.json). User data (memories, sessions, auth, .env) is never touched. config.yaml is preserved unless --force-config is passed.zProfile to updatez--force-configzFAlso overwrite config.yaml (normally preserved to keep user overrides)zSkip confirmationinfozFShow a profile's distribution manifest (version, requirements, source)zProfile to inspect)func)
add_parseradd_subparsersadd_argumentset_defaults)
subparserscmd_profileprofile_parserprofile_subparsersprofile_useprofile_createprofile_deleteprofile_describeprofile_showprofile_aliasprofile_renameprofile_exportprofile_importprofile_installprofile_updateprofile_infos                   Q/root/.hermes/venv/lib/python3.12/site-packages/hermes_cli/subcommands/profile.pybuild_profile_parserr?      sT   
  **E + N (66<L6M!!&/B!C$//0 0 K ^2OP'22- 3 N E    N   
 U   
 V   
 \0N    f   
 X    (228BT2UN5HIgl1K    *44T 5  !!E	 "  !!W " 
 !!2 "  !!@ "  !!F	 "  &00>T0ULn3DE&11. 2 M ~NC<.I   8	   (228BT2UN
1GH
1CD'224 3 N 5HIj$-S    (226 3 N 	0IJ<	    )33OB	 4 O   ? !    ~vB !    ,E !    ,S !    gl1 ! 
 (22MH	 3 	N 5HIU    gl    
 &00U 1 L n3GH[1    N)r/   r   returnNone)__doc__
__future__r   typingr   r?    r@   r>   <module>rG      s    # 2r@   