jp (forums): forums handling commands, first draft

This commit is contained in:
Goffi 2018-01-30 08:17:17 +01:00
commit 368571ea24

View file

@ -175,7 +175,7 @@ class Get(base.CommandBase, BlogCommon):
def __init__(self, host):
extra_outputs = {'default': self.default_output,
'fancy': self.fancy_output}
base.CommandBase.__init__(self, host, 'get', use_verbose=True, use_output='complex', extra_outputs=extra_outputs, help=_(u'get blog item(s)'))
base.CommandBase.__init__(self, host, 'get', use_verbose=True, use_output=C.OUTPUT_COMPLEX, extra_outputs=extra_outputs, help=_(u'get blog item(s)'))
BlogCommon.__init__(self, self.host)
self.need_loop=True