
    bN
                     Z    d Z ddlmZ ddlmZ  G d de          Z G d de          ZdS )	z+The main samba-tool command implementation.    )getopt)SuperCommandc                   &    e Zd ZdZd ZddZd ZdS )cache_loaderz
    We only load subcommand tools if they are actually used.
    This significantly reduces the amount of time spent starting up
    samba-tool
    c                     t                               | |          }|>|dk    rdn|} t          t          d|z  d|z  g          d|z                        | |<   t                               | |          S )Ntimenettimezsamba.netcmd.%szcmd_%s)fromlist)dict__getitem__getattr
__import__)selfattritempackages       3/usr/lib/python3/dist-packages/samba/netcmd/main.pyr   zcache_loader.__getitem__   s    d++<#'6>>iitG2,=,G6>o5F"H "H "H!)D2 2 4 4DJ d+++    Nc                 8    	 | |         S # t           $ r |cY S w xY wN)KeyError)r   r   defaults      r   getzcache_loader.get(   s5    	: 	 	 	NNN	s   
 c              #   ,   K   | D ]}|| |         fV  d S r    )r   keys     r   itemszcache_loader.items.   s7       	# 	#CS	"""""	# 	#r   r   )__name__
__module____qualname____doc__r   r   r   r   r   r   r   r      sP         
, , ,   # # # # #r   r   c                   (   e Zd ZdZdej        iZ e            Zded<   ded<   ded<   ded<   ded<   ded	<   ded
<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   dS )cmd_sambatoolzMain samba administration tool.versionoptsNcomputercontactdbcheck
delegationdnsdomaindrsdsaclforestfsmogpogroupldapcmpntaclrodcschemasitesspntestparmr   userou	processes	visualize)	r   r   r    r!   optionsVersionOptionstakes_optiongroupsr   subcommandsr   r   r   r#   r#   3   s%       )) 	w- ,..K"K
!K	!K	 $KK KKK KKKK!K	KK KKK"K
KKK#K#Kr   r#   N)	r!   sambar   r<   samba.netcmdr   r   r   r#   r   r   r   <module>rB      s   $ 2 1 # # # # # # % % % % % %# # # # #4 # # #4 $  $  $  $  $L  $  $  $  $  $r   