
    Uٵg                         d dl mZmZmZ d dlmZmZ d dlmZ d dl	m
Z
 d dlmZ  ej                         Zej                  defd       Z e
dej$                  ej&                  eej(                  	      Zy
)    )event_logger
exceptionsmessages)FullAutoAttachOptions_full_auto_attach)cli_util)
ProCommand)HelpCategoryreturnc                   	 t        t               |t        j                  j                         t        j                  |       y# t        j                  $ r0 t        j                  t        j                  j                         Y yw xY w)N)cfgmoder      )r   r   r   EventLoggerModeCLIr   post_cli_attachr   ConnectivityErroreventinfor   E_ATTACH_FAILUREmsg)argsr   kwargss      :/usr/lib/python3/dist-packages/uaclient/cli/auto_attach.pyaction_auto_attachr      sl    !#--11	
 	  % '' 

8,,001s   .A A B	B	zauto-attach)helpdescriptionactionhelp_categoryN)uaclientr   r   r   2uaclient.api.u.pro.attach.auto.full_auto_attach.v1r   r   uaclient.clir   uaclient.cli.commandsr	   uaclient.cli.parserr
   get_event_loggerr   assert_rootintr   CLI_ROOT_AUTO_ATTACHCLI_AUTO_ATTACH_DESCOTHERauto_attach_command     r   <module>r.      sz    7 7 " , ,%%%' 
#   !		&	&--$$ r-   