
    #h                     2    d dl Z d dlZddlmZ ddlmZ d Zy)    N   )fasttext_downloader)clear_cachec                     t        j                  d      } | j                  dt        d       | j                  dddd	
       | j	                         }|j
                  rt                t        j                  d       |j                  rt        |j                         |j
                  s|j                  s| j                  d       y y y )Nzdateparser download manager.)descriptionz
--fasttextzZTo download a fasttext language detection models. Supported models are "small" and "large")typehelpz--clearz--clear-cachezTo clear all cached models
store_true)r	   actionz&dateparser-download: All cache deletedzRdateparser-download: You need to specify the command (i.e.: --fasttext or --clear))argparseArgumentParseradd_argumentstr
parse_argsclearr   logginginfofasttextr   error)dateparser_argparseargss     O/var/www/html/sandstorm/venv/lib/python3.12/site-packages/dateparser_cli/cli.pyentrancer      s    "112 $$i % 
 $$)	 %  ))+Dzz=>}}DMM*JJ$--!!`	
 (J    )r   r   fasttext_managerr   utilsr   r    r   r   <module>r      s      1 
r   