def __init__(self):
    super(SslManage, self).__init__()
    self.parser.prog = 'couchbase-cli ssl-manage'
    group = self.parser.add_argument_group('SSL manage options')
    group.add_argument('--cluster-cert-info', dest='cluster_cert', action='store_true', default=False, help='Gets the cluster certificate')
    group.add_argument('--node-cert-info', dest='node_cert', action='store_true', default=False, help='Gets the node certificate')
    group.add_argument('--regenerate-cert', dest='regenerate', metavar='<path>', help='Regenerate the cluster certificate and save it to a file')
    group.add_argument('--set-node-certificate', dest='set_cert', action='store_true', default=False, help='Sets the node certificate')
    group.add_argument('--upload-cluster-ca', dest='upload_cert', metavar='<path>', help='Upload a new cluster certificate')
    group.add_argument('--set-client-auth', dest='client_auth_path', metavar='<path>', help='A path to a file containing the client auth configuration')
    group.add_argument('--client-auth', dest='show_client_auth', action='store_true', help='Show ssl client certificate authentication value')
    group.add_argument('--extended', dest='extended', action='store_true', default=False, help='Print extended certificate information')
def __init__(self):
    super(SslManage, self).__init__()
    self.parser.prog = 'couchbase-cli ssl-manage'
    group = self.parser.add_argument_group('SSL manage options')
    group.add_argument('--cluster-cert-info', dest='cluster_cert', action='store_true', default=False, help='Gets the cluster certificate')
    group.add_argument('--node-cert-info', dest='node_cert', action='store_true', default=False, help='Gets the node certificate')
    group.add_argument('--regenerate-cert', dest='regenerate', metavar='<path>', help='Regenerate the cluster certificate and save it to a file')
    group.add_argument('--set-node-certificate', dest='set_cert', action='store_true', default=False, help='Sets the node certificate')
    group.add_argument('--upload-cluster-ca', dest='upload_cert', metavar='<path>', help='Upload a new cluster certificate')
    group.add_argument('--set-client-auth', dest='client_auth_path', metavar='<path>', help='A path to a file containing the client auth configuration')
    group.add_argument('--client-auth', dest='show_client_auth', action='store_true', help='Show ssl client certificate authentication value')
    group.add_argument('--extended', dest='extended', action='store_true', default=False, help='Print extended certificate information')