

@options([make_option('-l', '--list', action='store_true', help='List HTTP client connectors'), make_option('-a', '--add', action='store_true', help='Add a new HTTP client connector'), make_option('-r', '--remove', type='string', metavar='CID', help="Remove HTTP client connector using it's CID"), make_option('-s', '--show', type='string', metavar='CID', help="Show HTTP client connector using it's CID")], '')
def do_httpccm(self, arg, opts=None):
    'HTTP client connector management'
    if opts.list:
        self.managers['httpccm'].list(arg, opts)
    elif opts.add:
        self.managers['httpccm'].add(arg, opts)
    elif opts.remove:
        self.managers['httpccm'].remove(arg, opts)
    elif opts.show:
        self.managers['httpccm'].show(arg, opts)
    else:
        return self.sendData('Missing required option')

dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/jcli.py JCliProtocol.do_httpccm/original