+
    «úÎjÃN  ã                   óP  € R t ^ RIt^ RIHtHt ^ RIHt ^ RIHt ^ RI	H
t
HtHtHt ^ RIHt ^RIHt ^RIHtHtHtHtHtHtHtHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t% ^R	I&H't' ^R
I(H)t) ^RI*H+t+H,t, ^RI-H.t.H/t/ ]%! RR7      t0 ! R R]1]Pd                  4      t3 ! R R]1]Pd                  4      t4]]5R,          ],! RRR7      3,          t6]]5R,          ],! RRR7      3,          t7]]1R,          ],! RR]! ]4      R7      3,          t8]]9R,          ],! RRR7      3,          t:]%! RR7      t;]%! RR7      t<]0P{                  ];RR7       ]0P{                  ]<R R7       ]0P}                  R!. RNOR"7      RRR]R#R3R$ R% ll4       t?]0P}                  R&. ROOR"7      ]P€                  RRRRRRR#RRRRRRRRR3R' R( ll4       tA]0P}                  R). RPOR"7      R]P€                  RRRRR#RRRRRRRR3R* R+ ll4       tB]0P}                  R,R-.R"7      ]P€                  RR#R#3R. R/ ll4       tC]0P}                  R0R1.R"7      R]P€                  3R2 R3 ll4       tD]0P}                  R4. RQOR"7      RRRRR]P€                  3R5 R6 ll4       tE]0P}                  R7. RROR"7      ]P€                  RRRR#R3R8 R9 ll4       tF]0P}                  R:. RSOR;7      ! ]'! R<4      4       ]<P}                  R&R=R>.R"7      RR]P€                  R#3R? R@ ll4       tG]<P}                  R,RA.R"7      R]P€                  3RB RC ll4       tH];P}                  R&RDRE.R"7      RRR]P€                  3RF RG ll4       tI];P}                  R!RH.R"7      R]P€                  3RI RJ ll4       tJ];P}                  R,RK.R"7      R#R]P€                  3RL RM ll4       tKR# )TzHContains commands to interact with repositories on the Hugging Face Hub.N)Ú	AnnotatedÚcast)ÚSpaceHardware)Ú
SoftChoice)ÚCLIErrorÚHfHubHTTPErrorÚRepositoryNotFoundErrorÚRevisionNotFoundError)ÚREPO_REGIONS)Úrun_city_game)ÚREPO_LIST_DEFAULT_LIMITÚ
EnvFileOptÚEnvOptÚLimitOptÚ
PrivateOptÚ	RepoIdArgÚRepoTypeÚRepoTypeOptÚRevisionOptÚ	SearchOptÚSecretsFileOptÚ
SecretsOptÚTokenOptÚ
VolumesOptÚenv_map_to_key_value_listÚ
get_hf_apiÚparse_env_mapÚparse_volumesÚtyper_factory)Úmake_cp)Úformat_size)ÚArgumentÚOption)ÚOutputFormatÚoutzManage repos on the Hub.©Úhelpc                   ó&   € ] tR t^7tRtRtRtRtRtR# )ÚRepoTypeAllÚmodelÚdatasetÚspaceÚbucket© N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r)   r*   r+   r,   Ú__static_attributes__r-   ó    ÚS/opt/data/cache/scratch/pip-target-_o6w5emm/lib/python/huggingface_hub/cli/repos.pyr(   r(   7   s   † Ø€EØ€GØ€EØ„Fr3   r(   c                   ó"   € ] tR t^>tRtRtRtRtR# )ÚGatedChoicesÚautoÚmanualÚfalser-   N)r.   r/   r0   r1   r7   r8   r9   r2   r-   r3   r4   r6   r6   >   s   † Ø€DØ€FØ„Er3   r6   z--publiczDWhether to make the repo public. Ignored if the repo already exists.z--protectedzVWhether to make the Space protected (Spaces only). Ignored if the repo already exists.z--flavorzOSpace hardware flavor (e.g. 'cpu-basic', 't4-medium', 'l4x4'). Only for Spaces.)r&   Ú
click_typez--sleep-timez[Seconds of inactivity before the Space is put to sleep. Use -1 to disable. Only for Spaces.z"Manage tags for a repo on the Hub.z&Manage branches for a repo on the Hub.Útag)ÚnameÚbranchz	list | ls)ÚexamplesFc                ó  € V ^8„  d   QhR\         \        R,          \        RR7      3,          R\         \        R,          \        RRRR7      3,          R	\        R
\
        R\         \        \        RRR7      3,          R\        RR/# )é   Ú	namespaceNzKOrganization name. If not provided, lists repos for the authenticated user.r%   Ú	repo_typez--typez--repo-typez=Filter by repository type (model, dataset, space, or bucket).ÚsearchÚlimitÚexplorez	--explorez-Explore your repos as an interactive 3D city.ÚtokenÚreturn)r   Ústrr"   r(   r   r   Úboolr   )Úformats   "r4   Ú__annotate__rK   s   s±   € ÷ 6Tñ 6TÜÜˆd�
ÜØ^ô	
ð	õð6Tô Ü�dÕÜØØØPô	
ð	õð6Tô ð6Tô  ð!6Tô" ÜÜˆ{Ð!PÔQð	Sõð#6Tô* ð+6Tð, 
ñ-6Tr3   c                ó–  € \        VR7      p\        VP                  V R7      4      pVe.   V Uu. uF!  qˆP                  VP                  8X  g   K  VNK#  	  ppVeB   VP                  4       p	V Uu. uF%  q‰VP                  P                  4       9   g   K#  VNK'  	  pp\        V4      p
V'       d<   \        P                  \        P                  8X  d   \        V4       R# \        R4      hV^ 8”  d   VRV pV Uu. uFk  pRVP                  RVP                  RVP                  P                  R4      R	VP                   R
\#        VP$                  RR7      RVP&                  R R2/NKm  	  pp\        P(                  ! VRR
RRR/R7       V^ 8”  d(   W£8”  d    \        P*                  ! RV RV
 R24       R# R# R# u upi u upi u upi )zEList all repos (models, datasets, spaces, buckets) with storage info.©rF   )rA   Nz5Repository exploration is only available in terminal.ÚidÚtypeÚupdatedz%Y-%m-%dÚ
visibilityÚstorageT)Úhuman_readablez
%_of_totalz.1fÚ%Úright)Úid_keyÚ
alignmentszShowing z of z$ repos. Use `--limit 0` to list all.)r   ÚlistÚlist_user_reposrO   ÚvalueÚlowerrN   Úlenr$   Úmoder#   Úhumanr   r   Ú
updated_atÚstrftimerQ   r    rR   Ústorage_percentÚtableÚhint)rA   rB   rC   rD   rE   rF   ÚapiÚreposÚrÚsearch_lowerÚtotalÚitemss   &&&&&&      r4   Ú	repo_listrj   k   s¤  € ô@ ˜5Ô
!€CÜ�×$Ñ$¨yÐ$Ó9Ó:€EØÒÙ!Ó?™E�q§V¡V¨y¯©Ñ%>—�™EˆÐ?ØÒØ—|‘|“~ˆÙ!ÓB™E�q°Q·T±T·Z±Z³\Ñ%A—�™EˆÐBÜ�‹J€EçÜ�8‰8”|×)Ñ)Ô)Ü˜%Ô ÙÜÐNÓOÐOàˆq„yØ�f�u�ˆñ ó
ñ ˆAð �!—$‘$Ø�A—F‘FØ�q—|‘|×,Ñ,¨ZÓ8Ø˜!Ÿ,™,Ø”{ 1§9¡9¸TÔBØ˜Q×.Ñ.¨sÐ3°1Ð5ó	
ñ ð 
ð 
ô ‡I‚Iˆe˜D¨i¸À,ÐPWÐ-XÕYØˆq„y�U”]Ü�Š�8˜E˜7 $ u gÐ-QÐRÖSñ #�yùò5 @ùò Cùò
s   °F<ÁF<Á1 GÂGÃ<A1GÚcreatec          &      ó  € V ^8„  d   QhR\         R\        R\        \        R,          \	        RRRR7      3,          R	\        \        R,          \	        R
RR7      3,          R\
        R\        R\        R\        R\        \        \	        RR7      3,          R\        \        R,          \	        RR7      3,          R\        \        R,          \	        RRR7      3,          R\        R\        R\        R\        R\        R\         R\"        RR/# )r@   Úrepo_idrB   ÚsdkNz--sdkz--space-sdkzEHugging Face Spaces SDK type. Required when --type is set to 'space'.r%   Útemplatez
--templatezÍCreate a Space from an official template. Pass a template repo id (e.g. 'SpacesExamples/jupyterlab') or its short name (e.g. 'JupyterLab'). List available templates with `hf spaces templates`. Spaces only.ÚprivateÚpublicÚ	protectedrF   Úexist_okú-Do not raise an error if repo already exists.Úresource_group_idzoResource group in which to create the repo. Resource groups is only available for Enterprise Hub organizations.Úregionz--regionzbCloud region in which to create the repo. Can be one of 'us' or 'eu'. Requires Team plan or above.ÚhardwareÚ
sleep_timeÚsecretsÚsecrets_fileÚenvÚenv_fileÚvolumerG   )r   r   r   rH   r"   r   Ú	PublicOptÚProtectedOptr   rI   r
   ÚSpaceHardwareOptÚSpaceSleepTimeOptr   r   r   r   r   )rJ   s   "r4   rK   rK   ·   sž  € ÷ GLñ GLÜðGLäðGLô 
Üˆd�
ÜØØØXô	
ð	õ
ðGLô Üˆd�
ÜØð6ô	
ð	õ
ðGLô, ð-GLô. ð/GLô0 ð1GLô2 ð3GLô4 ÜÜØ@ô	
ð	õð5GLô@ !Üˆd�
Üð Cô	
ð	õðAGLôL Ü�tÕÜØØuô	
ð	õðMGLôZ ð[GLô\ "ð]GLô^ ð_GLô` !ðaGLôb 
ðcGLôd ðeGLôf ðgGLðh 
ñiGLr3   c                óŠ  € \        VR7      pTP                  T VP                  V'       d   RMV'       d   RMV'       d   RMRVVV	V
V\        \        R,          V4      V\        \        WÞ4      4      \        \        VV4      4      \        V4      VR7      p\        P                  ! RVP                  \        V4      R7       R# )	zCreate a new repo on the Hub.rM   rp   rq   rr   N)rm   rB   rQ   rF   rs   ru   rv   Ú	space_sdkÚspace_hardwareÚspace_sleep_timeÚspace_secretsÚspace_variablesÚspace_volumesÚspace_templatezRepo created)rm   Úurl)r   Úcreate_reporZ   r   r   r   r   r   r$   Úresultrm   rH   )rm   rB   rn   ro   rp   rq   rr   rF   rs   ru   rv   rw   rx   ry   rz   r{   r|   r}   rd   Úrepo_urls   &&&&&&&&&&&&&&&&&&  r4   Úrepo_createrŽ   ¬   s¡   € ôB ˜5Ô
!€CØ�‰ØØ—/‘/ß '‘9¿©X×T]Á[ÐcgØØØ+ØØÜœM¨DÕ0°(Ó;Ø#Ü/´¸gÓ0TÓUÜ1´-ÀÀXÓ2NÓOÜ# FÓ+Øð ó €Hô  ‡J‚Jˆ~ x×'7Ñ'7¼SÀ»]×Kr3   Ú	duplicatec          "      ó‚  € V ^8„  d   QhR\         R\        \        R,          \        RR7      3,          R\        R\
        R\        R	\        R
\        R\        \        \        RR7      3,          R\        \        R,          \        RR7      3,          R\        R\        R\        R\        R\        R\         R\"        RR/# )r@   Úfrom_idÚto_idNz_Destination repo ID (e.g. `myorg/my-copy`). Defaults to your namespace with the same repo name.r%   rB   rp   rq   rr   rF   rs   rt   ru   zsResource group in which to create the new repo. Resource groups is only available for Enterprise Hub organizations.rw   rx   ry   rz   r{   r|   r}   rG   )r   r   rH   r!   r   r   r~   r   r   rI   r"   r€   r�   r   r   r   r   r   )rJ   s   "r4   rK   rK   	  s  € ÷ 6
ñ 6
Üð6
äÜˆd�
ÜØrô	
ð	õð6
ô ð6
ô ð6
ô ð6
ô ð6
ô ð6
ô ÜÜØ@ô	
ð	õð6
ô& !Üˆd�
Üð Gô	
ð	õð'6
ô2 ð36
ô4 "ð56
ô6 ð76
ô8 !ð96
ô: 
ð;6
ô< ð=6
ô> ð?6
ð@ 
ñA6
r3   c                óö  € \        VR7      pTP                  T TVP                  V'       d   RMV'       d   RMV'       d   RMRVVV\        \        R,          V	4      V
\        \        W¼4      4      \        \        WÞ4      4      \        V4      R7      p\        P                  ! RV VP                  \        V4      R7       VP                  '       d'   \        P                  ! R	VP                   R
24       R# R# )z7Duplicate a repo on the Hub (model, dataset, or Space).rM   rp   rq   rr   N)r‘   r’   rB   rQ   rF   rs   ru   r„   r…   r†   r‡   rˆ   zRepo duplicated)r‘   r’   rŠ   zOLFS/Xet files are still being copied in the background. Downloading them from 'z&' may fail until the copy is complete.)r   Úduplicate_reporZ   r   r   r   r   r   r$   rŒ   rm   rH   Úfiles_copy_pendingÚwarning)r‘   r’   rB   rp   rq   rr   rF   rs   ru   rw   rx   ry   rz   r{   r|   r}   rd   r�   s   &&&&&&&&&&&&&&&&  r4   Úrepo_duplicater—     sÖ   € ôT ˜5Ô
!€CØ×!Ñ!ØØØ—/‘/ß '‘9¿©X×T]Á[ÐcgØØØ+ÜœM¨DÕ0°(Ó;Ø#Ü/´¸gÓ0TÓUÜ1´-ÀÓ2NÓOÜ# FÓ+ð "ó €Hô ‡J‚JÐ ¨'¸×9IÑ9IÌsÐS[Ë}Õ]Ø×"×"Ð"Ü�ŠØ]Ð^f×^nÑ^nÐ]oð p4ð 4ö	
ñ #r3   Údeletezhf repos delete my-modelc                ó¸   € V ^8„  d   QhR\         R\        R\        R\        \        \        RR7      3,          R\        \        \        RR	R
R7      3,          RR/# )r@   rm   rB   rF   Ú
missing_okz=If set to True, do not raise an error if repo does not exist.r%   Úyesú-yú--yesz#Answer Yes to prompt automatically.rG   N)r   r   r   r   rI   r"   )rJ   s   "r4   rK   rK   C  sz   € ÷ 0ñ 0Üð0äð0ô ð0ô ÜÜØPô	
ð	õð	0ô 
ÜÜØØØ6ô	
ð	õ
ð0ð$ 
ñ%0r3   c                óÜ   € \         P                  ! RVP                   RV  R2VR7       \        VR7      pVP	                  V VP                  VR7       \         P
                  ! RV R7       R	# )
z>Delete a repo from the Hub. This is an irreversible operation.z$You are about to permanently delete ú 'z'. Proceed?©r›   rM   )rm   rB   rš   zRepo deleted©rm   N)r$   ÚconfirmrZ   r   Údelete_reporŒ   )rm   rB   rF   rš   r›   rd   s   &&&&& r4   Úrepo_deleter¤   B  sa   € ô* ‡K‚KÐ6°y·±Ð6GÀrÈ'ÈÐR]Ð^ÐdgÕhÜ
˜5Ô
!€CØ‡O�OØØ—/‘/Øð ô ô
 ‡J‚Jˆ~ w×/r3   Úmovez;hf repos move old-namespace/my-model new-namespace/my-modelc          
      óL   € V ^8„  d   QhR\         R\         R\        R\        RR/# )r@   r‘   r’   rF   rB   rG   N©r   r   r   )rJ   s   "r4   rK   rK   b  s:   € ÷ ;ñ ;Üð;äð;ô ð;ô ð	;ð
 
ñ;r3   c                óŠ   € \        VR7      pVP                  V VVP                  R7       \        P                  ! RWR7       R# )z8Move a repository from a namespace to another namespace.rM   )r‘   r’   rB   z
Repo moved)r‘   r’   N)r   Ú	move_reporZ   r$   rŒ   )r‘   r’   rF   rB   rd   s   &&&& r4   Ú	repo_moverª   a  s<   € ô ˜5Ô
!€CØ‡M�MØØØ—/‘/ð ô ô
 ‡J‚Jˆ| W×:r3   Úsettingsc                ó¬   € V ^8„  d   QhR\         R\        \        R,          \        RR7      3,          R\        R\
        R\        R	\        R
\        RR/# )r@   rm   ÚgatedNz$The gated status for the repository.r%   rp   rq   rr   rF   rB   rG   )	r   r   r6   r"   r   r~   r   r   r   )rJ   s   "r4   rK   rK   z  su   € ÷ 9ñ 9Üð9äÜ�tÕÜØ7ô	
ð	õð9ô ð9ô ð9ô ð9ô ð9ô ð9ð 
ñ9r3   c                ó  € \        VR7      pTP                  T Vf   RM!V\        P                  J d   RMVP                  V'       d   RMV'       d   RMV'       d   RMRVP                  R7       \
        P                  ! RV R	7       R# )
z$Update the settings of a repository.rM   NFrp   rq   rr   )rm   r­   rQ   rB   zRepo settings updatedr¡   )r   Úupdate_repo_settingsr6   r9   rZ   r$   rŒ   )rm   r­   rp   rq   rr   rF   rB   rd   s   &&&&&&& r4   Úrepo_settingsr°   r  sl   € ô. ˜5Ô
!€CØ×ÑØØ’}‰t°5¼L×<NÑ<NÓ3N©%ÐTY×T_ÑT_ß '‘9¿©X×T]Á[ÐcgØ—/‘/ð	 ô ô ‡J‚JÐ&°×8r3   zdelete-filesc                óf  € V ^8„  d   QhR\         R\        \        \        ,          \	        RR7      3,          R\
        R\        R\        \        R,          \        R	R7      3,          R
\        \        R,          \        RR7      3,          R\        \        \        RR7      3,          R\        RR/	# )r@   rm   ÚpatternszXGlob patterns to match files to delete. Based on fnmatch, '*' matches files recursively.r%   rB   ÚrevisionÚcommit_messageNz9The summary / title / first line of the generated commit.Úcommit_descriptionz(The description of the generated commit.Ú	create_prz7Whether to create a new Pull Request for these changes.rF   rG   )
r   r   rX   rH   r!   r   r   r"   rI   r   )rJ   s   "r4   rK   rK   ›  sÙ   € ÷ )Añ )AÜð)AäÜŒS�	ÜØkô	
ð	õð)Aô ð)Aô ð)Aô Üˆd�
ÜØLô	
ð	õð)Aô  "Üˆd�
ÜØ;ô	
ð	õð!)Aô, ÜÜØJô	
ð	õð-)Aô8 ð9)Að: 
ñ;)Ar3   c           
     ó’   € \        VR7      pVP                  VV VP                  VVVVR7      p	\        P                  ! RW	R7       R# )z$Delete files from a repo on the Hub.rM   )Údelete_patternsrm   rB   r³   r´   rµ   r¶   zFiles deleted)rm   Ú
commit_urlN)r   Údelete_filesrZ   r$   rŒ   )
rm   r²   rB   r³   r´   rµ   r¶   rF   rd   rŠ   s
   &&&&&&&&  r4   Úrepo_delete_filesr»   “  sM   € ôN ˜5Ô
!€CØ
×
Ñ
Ø ØØ—/‘/ØØ%Ø-Øð ó €Cô ‡J‚Jˆ¨×@r3   Úcp)r<   r>   re   z#hf repos branch create my-model devz5hf repos branch create my-model dev --revision abc123c                óÀ   € V ^8„  d   QhR\         R\        \        \        RR7      3,          R\        R\
        R\        R\        \        \        R	R7      3,          R
R/# )r@   rm   r=   z!The name of the branch to create.r%   r³   rF   rB   rs   z?If set to True, do not raise an error if branch already exists.rG   N)	r   r   rH   r!   r   r   r   rI   r"   )rJ   s   "r4   rK   rK   â  s‡   € ÷ \ñ \Üð\äÜÜØ4ô	
ð	õð\ô ð\ô ð\ô ð\ô ÜÜØRô	
ð	õð\ð" 
ñ#\r3   c                ó¤   € \        VR7      pVP                  V VVVP                  VR7       \        P                  ! RWP                  V R7       R# )z*Create a new branch for a repo on the Hub.rM   )rm   r=   r³   rB   rs   zBranch created©r=   rB   rm   N)r   Úcreate_branchrZ   r$   rŒ   )rm   r=   r³   rF   rB   rs   rd   s   &&&&&& r4   Úbranch_createrÁ   Û  sL   € ô4 ˜5Ô
!€CØ×ÑØØØØ—/‘/Øð ô ô ‡J‚JÐ¨¿/¹/ÐSZ×[r3   z#hf repos branch delete my-model devc          
      óz   € V ^8„  d   QhR\         R\        \        \        RR7      3,          R\        R\
        RR/# )	r@   rm   r=   z!The name of the branch to delete.r%   rF   rB   rG   N)r   r   rH   r!   r   r   )rJ   s   "r4   rK   rK     sY   € ÷ \ñ \Üð\äÜÜØ4ô	
ð	õð\ô ð\ô ð\ð 
ñ\r3   c                ó    € \        VR7      pVP                  V VVP                  R7       \        P                  ! RWP                  V R7       R# )z'Delete a branch from a repo on the Hub.rM   )rm   r=   rB   zBranch deletedr¿   N)r   Údelete_branchrZ   r$   rŒ   )rm   r=   rF   rB   rd   s   &&&& r4   Úbranch_deleterÅ      sF   € ô ˜5Ô
!€CØ×ÑØØØ—/‘/ð ô ô
 ‡J‚JÐ¨¿/¹/ÐSZ×[r3   z!hf repos tag create my-model v1.0z4hf repos tag create my-model v1.0 -m "First release"c                óÒ   € V ^8„  d   QhR\         R\        \        \        RR7      3,          R\        \        R,          \	        RRR	R7      3,          R
\
        R\        R\        RR/# )r@   rm   r;   zThe name of the tag to create.r%   ÚmessageNz-mz	--messagez%The description of the tag to create.r³   rF   rB   rG   )r   r   rH   r!   r"   r   r   r   )rJ   s   "r4   rK   rK     s‘   € ÷ !Qñ !QÜð!Qä	ÜÜØ1ô	
ð	õ
ð!Qô Üˆd�
ÜØØØ8ô	
ð	õð!Qô  ð!!Qô" ð#!Qô$ ð%!Qð& 
ñ'!Qr3   c                ó®  € VP                   p\        VR7      p VP                  WW#VR7       \        P                  ! RYT R7       R#   \         d&   p\	        TP                  4        RT  R24      ThRp?i\         d   p\	        RT R24      ThRp?i\         d5   pTP                  P                  R8X  d   \	        RT R	T  R
24      Thh Rp?ii ; i)zCreate a tag for a repo.rM   )rm   r;   Útag_messager³   rB   rŸ   ú' not found.Nz
Revision 'i™  úTag 'z' already exists on 'ú'.zTag created©r;   rB   rm   )rZ   r   Ú
create_tagr   r   Ú
capitalizer	   r   ÚresponseÚstatus_coder$   rŒ   )	rm   r;   rÇ   r³   rF   rB   Úrepo_type_strrd   Úes	   &&&&&&   r4   Ú
tag_createrÔ     sÔ   € ð8 —O‘O€MÜ
˜5Ô
!€Cð	Ø�‰˜w¸WÐcpˆÔqô ‡J‚Jˆ} #È×Pøô #ô VÜ˜-×2Ñ2Ó4Ð5°R¸°yÀÐMÓNÐTUÐUûÜ ô CÜ˜ H :¨\Ð:Ó;ÀÐBûÜô Ø�:‰:×!Ñ! SÔ(Ü˜U 3 %Ð'<¸W¸IÀRÐHÓIÈqÐPØûðús;   šA	 Á	CÁ A4Á4CÂCÂBÂCÂCÂ /CÃCzhf repos tag list my-modelc                ó@   € V ^8„  d   QhR\         R\        R\        RR/# )r@   rm   rF   rB   rG   Nr§   )rJ   s   "r4   rK   rK   B  s0   € ÷ ñ Üðäðô ðð 
ñ	r3   c           	     óv  € VP                   p\        VR7      p VP                  WR7      pTP                   Uu. uF)  pRTP                  RTP                  RTP                  /NK+  	  pp\        P                  ! T4       R#   \         d&   p\	        TP                  4        RT  R24      ThRp?ii ; iu upi )	zList tags for a repo.rM   )rm   rB   rŸ   rÊ   Nr<   Útarget_commitÚref)rZ   r   Úlist_repo_refsr   r   rÏ   Útagsr<   r×   rØ   r$   rb   )	rm   rF   rB   rÒ   rd   ÚrefsrÓ   Útri   s	   &&&      r4   Útag_listrÝ   A  s±   € ð —O‘O€MÜ
˜5Ô
!€CðVØ×!Ñ!¨'Ð!ÓKˆð X\×W`ÒW`ÓaÑW`ÐRSˆf�a—f‘f˜o¨q¯©ÀÀqÇuÁuÓMÑW`€EÐaÜ‡I‚IˆeÖøô #ô VÜ˜-×2Ñ2Ó4Ð5°R¸°yÀÐMÓNÐTUÐUûðVüâas   šB º/B6ÂB3Â B.Â.B3z!hf repos tag delete my-model v1.0c                ó¸   € V ^8„  d   QhR\         R\        \        \        RR7      3,          R\        \        \        RRRR7      3,          R	\        R
\        RR/# )r@   rm   r;   zThe name of the tag to delete.r%   r›   rœ   r�   z"Answer Yes to prompt automaticallyrF   rB   rG   N)r   r   rH   r!   rI   r"   r   r   )rJ   s   "r4   rK   rK   S  s‚   € ÷ Qñ QÜðQä	ÜÜØ1ô	
ð	õ
ðQô 
ÜÜØØØ5ô	
ð	õ
ðQô  ð!Qô" ð#Qð$ 
ñ%Qr3   c                ó¦  € VP                   p\        P                  ! RV RV RV  24       \        P                  ! RVR7       \	        VR7      p VP                  WVR7       \        P                  ! RYT R7       R
#   \         d&   p\        TP                  4        RT  R	24      ThR
p?i\         d   p\        RT RT  R24      ThR
p?ii ; i)zDelete a tag for a repo.zYou are about to delete tag z on Ú zProceed?r    rM   )rm   r;   rB   rŸ   rÊ   NrË   z' not found on 'rÌ   zTag deletedrÍ   )rZ   r$   Útextr¢   r   Ú
delete_tagr   r   rÏ   r	   rŒ   )rm   r;   r›   rF   rB   rÒ   rd   rÓ   s   &&&&&   r4   Ú
tag_deleterã   R  sÍ   € ð* —O‘O€MÜ‡H‚HÐ+¨C¨5°°]°OÀ1ÀWÀIÐNÔOÜ‡K‚K�
 Õ$Ü
˜5Ô
!€CðHØ�‰˜w¸=ˆÔIô
 ‡J‚Jˆ} #È×Pøô	 #ô VÜ˜-×2Ñ2Ó4Ð5°R¸°yÀÐMÓNÐTUÐUûÜ ô HÜ˜˜s˜eÐ#3°G°9¸BÐ?Ó@ÀaÐGûðHús*   ÁA? Á?CÂ
 B*Â*CÂ7CÂ8CÃC)zhf repos lszhf repos ls --explorez,hf repos ls --namespace my-org --search bert)zhf repos create my-modelz8hf repos create my-dataset --repo-type dataset --privatezrhf repos create my-space --type space --sdk gradio --flavor t4-medium --secrets HF_TOKEN -e THEME=dark --protectedzOhf repos create my-jupyterlab --type space --template SpacesExamples/jupyterlabzkhf repos create my-space --type space --sdk gradio -v hf://org/my-model:/models -v hf://buckets/org/b:/dataz$hf repos create my-model --region us)z/hf repos duplicate openai/gdpval --type datasetzzhf repos duplicate multimodalart/dreambooth-training my-dreambooth --type space --flavor l4x4 --secrets HF_TOKEN --privateznhf repos duplicate org/my-space my-space --type space -v hf://org/my-model:/models -v hf://buckets/org/b:/data)z$hf repos settings my-model --privatez'hf repos settings my-model --gated autoz8hf repos settings my-space --repo-type space --protected)z'hf repos delete-files my-model file.txtz'hf repos delete-files my-model "*.json"z&hf repos delete-files my-model folder/)	z:hf repos cp hf://username/my-model/config.json config.jsonz<hf repos cp hf://datasets/username/my-dataset/data.csv data/z0hf repos cp hf://username/my-model/config.json -zFhf repos cp model.safetensors hf://username/my-model/model.safetensorsz4hf repos cp config.json hf://username/my-model/logs/z0hf repos cp - hf://username/my-model/config.jsonzWhf repos cp hf://username/source-model/config.json hf://username/dest-model/config.jsonzghf repos cp hf://datasets/username/my-dataset/processed/ hf://datasets/username/dest-dataset/processed/zJhf repos cp hf://username/my-model/logs/ hf://username/archive-model/logs/)LÚ__doc__ÚenumÚtypingr   r   Úhuggingface_hubr   Úhuggingface_hub.cli._cli_utilsr   Úhuggingface_hub.errorsr   r   r   r	   Úhuggingface_hub.hf_apir
   Ú
_city_gamer   Ú
_cli_utilsr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Ú_cpr   Ú_file_listingr    Ú
_frameworkr!   r"   Ú_outputr#   r$   Ú	repos_clirH   ÚEnumr(   r6   rI   r~   r   r€   Úintr�   Útag_cliÚ
branch_cliÚ	add_groupÚcommandrj   r)   rŽ   r—   r¤   rª   r°   r»   rÁ   rÅ   rÔ   rÝ   rã   r-   r3   r4   Ú<module>rø      sÞ  ðñ Oã ß "å )Ý 5ß kÓ kÝ /å %÷÷ ÷ ÷ ÷ ñ õ* Ý &ß (ß &ñ Ð9Ô:€	ô�#�t—y‘yô ô�3˜Ÿ	™	ô ð Øˆ4…KÙ
ØØSôðõ€	ð Øˆ4…KÙ
ØØeôðõ€ð Øˆ$…JÙ
ØØ^Ù˜mÓ,ôðõÐ ð Øˆ$…JÙ
ØØjôðõÐ ñ ÐAÔ
B€ÙÐ HÔI€
Ø 	× Ñ �G %Ð Ô (Ø 	× Ñ �J XÐ Ô .ð ×ÑØòð ó ð 	ð 	ØØ-ð 	Øö+6Tóð6Tðr ×ÑØòð ó 
ð &Ÿ^™^ð 	ð 	ØØØ"Øð 	ð 	ð 	Ø!%Ø$(ØØ#'ØØØögGLó
ðGLðT ×ÑØòð ó ð 	Ø%Ÿ^™^ØØØ"Øð 	ð 	Ø!%Ø$(ØØ#'ØØØö?6
óð6
ðr ×Ñ�8Ð'AÐ&BÐÓCð &Ÿ^™^Øð 	ð 	ö#0ó Dð0ð< ×Ñ�6Ð%bÐ$cÐÓdð Ø%Ÿ^™^ö	;ó eð;ð  ×ÑØòð ó ð 	ØØØ"ØØ%Ÿ^™^ö9óð9ð2 ×ÑØòð ó ð  &Ÿ^™^Ø ð 	ð 	ð 	Øö9)Aóð)AðZ 
× Ñ Ø	òð ô ñ  
ˆ'Óô!ð& ×ÑØà-Ø?ðð ó ð !ØØ%Ÿ^™^ð 	ö!\óð\ð< ×Ñ�HÐ(MÐ'NÐÓOð Ø%Ÿ^™^ö\ó Pð\ð* 	‡�Øà+Ø>ðð ó ð, 	Ø ØØ%Ÿ^™^ö%!Qóð!QðH 	‡��Ð(DÐ'E€ÓFð Ø%Ÿ^™^öó Gðð  	‡��Ð%HÐ$I€ÓJð  	ØØ%Ÿ^™^ö#Qó KòQr3   