VirtualMailManager/cli/subcommands.py
branchv0.6.x
changeset 418 542a4d23a9f0
parent 417 8209da83e256
child 420 d4a341248500
equal deleted inserted replaced
417:8209da83e256 418:542a4d23a9f0
   631     # Account commands
   631     # Account commands
   632     'getuser': cmd('getuser', 'gu', get_user, _(u'uid'),
   632     'getuser': cmd('getuser', 'gu', get_user, _(u'uid'),
   633                    _(u'get the address of the user with the given UID')),
   633                    _(u'get the address of the user with the given UID')),
   634     'useradd': cmd('useradd', 'ua', user_add, _(u'address [password]'),
   634     'useradd': cmd('useradd', 'ua', user_add, _(u'address [password]'),
   635                    _(u'create a new e-mail user with the given address')),
   635                    _(u'create a new e-mail user with the given address')),
   636     'userdelete': cmd('userdelete', 'ud', user_delete, _(u'address [force]'),
   636     'userdelete': cmd('userdelete', 'ud', user_delete,
       
   637                       _(u'address') + ' [force]', 
   637                       _(u'delete the specified user')),
   638                       _(u'delete the specified user')),
   638     'userdisable': cmd('userdisable', 'u0', user_disable,
   639     'userdisable': cmd('userdisable', 'u0', user_disable,
   639                        _(u'address [service ...]'),
   640                        _(u'address [service ...]'),
   640                        _(u'deactivate all/the given service(s) for a user')),
   641                        _(u'deactivate all/the given service(s) for a user')),
   641     'userenable': cmd('userenable', 'u1', user_enable,
   642     'userenable': cmd('userenable', 'u1', user_enable,
   679                        _(u'assign the given alias domain to an other domain')),
   680                        _(u'assign the given alias domain to an other domain')),
   680     # Domain commands
   681     # Domain commands
   681     'domainadd': cmd('domainadd', 'da', domain_add, _(u'fqdn [transport]'),
   682     'domainadd': cmd('domainadd', 'da', domain_add, _(u'fqdn [transport]'),
   682                      _(u'create a new domain')),
   683                      _(u'create a new domain')),
   683     'domaindelete': cmd('domaindelete', 'dd', domain_delete,
   684     'domaindelete': cmd('domaindelete', 'dd', domain_delete,
   684                       _(u'fqdn [force]'),
   685                       _(u'fqdn') + ' [force]',
   685                       _(u'delete the given domain and all its alias domains')),
   686                       _(u'delete the given domain and all its alias domains')),
   686     'domaininfo': cmd('domaininfo', 'di', domain_info, _(u'fqdn [details]'),
   687     'domaininfo': cmd('domaininfo', 'di', domain_info, _(u'fqdn [details]'),
   687                       _(u'display information about the given domain')),
   688                       _(u'display information about the given domain')),
   688     'domainquota': cmd('domainquota', 'dq', domain_quota,
   689     'domainquota': cmd('domainquota', 'dq', domain_quota,
   689                        _(u'fqdn storage [messages] [force]'),
   690                        _(u'fqdn storage [messages]') + ' [force]',
   690                        _(u'update the quota limit of the specified domain')),
   691                        _(u'update the quota limit of the specified domain')),
   691     'domaintransport': cmd('domaintransport', 'dt', domain_transport,
   692     'domaintransport': cmd('domaintransport', 'dt', domain_transport,
   692                            _(u'fqdn transport [force]'),
   693                            _(u'fqdn transport') + ' [force]',
   693                            _(u'update the transport of the specified domain')),
   694                            _(u'update the transport of the specified domain')),
   694     'listdomains': cmd('listdomains', 'ld', list_domains, _(u'[pattern]'),
   695     'listdomains': cmd('listdomains', 'ld', list_domains, _(u'[pattern]'),
   695                        _(u'list all domains / search domains by pattern')),
   696                        _(u'list all domains / search domains by pattern')),
   696     # Relocated commands
   697     # Relocated commands
   697     'relocatedadd': cmd('relocatedadd', 'ra', relocated_add,
   698     'relocatedadd': cmd('relocatedadd', 'ra', relocated_add,