def __init__(self, deprecate_username=False, deprecate_password=False, cluster_default=None):
    super(Subcommand, self).__init__()
    self.rest = None
    self.enterprise = None
    self.parser = CliParser(formatter_class=CLIHelpFormatter, add_help=False, allow_abbrev=False)
    group = self.parser.add_argument_group('Cluster options')
    group.add_argument('-c', '--cluster', dest='cluster', required=(cluster_default is None), metavar='<cluster>', action=CBHostAction, default=cluster_default, help='The hostname of the Couchbase cluster')
    if deprecate_username:
        group.add_argument('-u', '--username', dest='username', action=CBDeprecatedAction, help=SUPPRESS)
    else:
        group.add_argument('-u', '--username', dest='username', required=True, action=CBEnvAction, envvar='CB_REST_USERNAME', metavar='<username>', help='The username for the Couchbase cluster')
    if deprecate_password:
        group.add_argument('-p', '--password', dest='password', action=CBDeprecatedAction, help=SUPPRESS)
    else:
        group.add_argument('-p', '--password', dest='password', required=True, action=CBNonEchoedAction, envvar='CB_REST_PASSWORD', metavar='<password>', help='The password for the Couchbase cluster')
    group.add_argument('-o', '--output', dest='output', default='standard', metavar='<output>', choices=['json', 'standard'], help='The output type (json or standard)')
    group.add_argument('-d', '--debug', dest='debug', action='store_true', help='Run the command with extra logging')
    group.add_argument('-s', '--ssl', dest='ssl', const=True, default=False, nargs=0, action=CBDeprecatedAction, help='Use ssl when connecting to Couchbase (Deprecated)')
    group.add_argument('--no-ssl-verify', dest='ssl_verify', action='store_false', default=True, help='Skips SSL verification of certificates against the CA')
    group.add_argument('--cacert', dest='cacert', default=True, help='Verifies the cluster identity with this certificate')
    group.add_argument('-h', '--help', action=CBHelpAction, klass=self, help='Prints the short or long help message')
def __init__(self, deprecate_username=False, deprecate_password=False, cluster_default=None):
    super(Subcommand, self).__init__()
    self.rest = None
    self.enterprise = None
    self.parser = CliParser(formatter_class=CLIHelpFormatter, add_help=False, allow_abbrev=False)
    group = self.parser.add_argument_group('Cluster options')
    group.add_argument('-c', '--cluster', dest='cluster', required=(cluster_default is None), metavar='<cluster>', action=CBHostAction, default=cluster_default, help='The hostname of the Couchbase cluster')
    if deprecate_username:
        group.add_argument('-u', '--username', dest='username', action=CBDeprecatedAction, help=SUPPRESS)
    else:
        group.add_argument('-u', '--username', dest='username', required=True, action=CBEnvAction, envvar='CB_REST_USERNAME', metavar='<username>', help='The username for the Couchbase cluster')
    if deprecate_password:
        group.add_argument('-p', '--password', dest='password', action=CBDeprecatedAction, help=SUPPRESS)
    else:
        group.add_argument('-p', '--password', dest='password', required=True, action=CBNonEchoedAction, envvar='CB_REST_PASSWORD', metavar='<password>', help='The password for the Couchbase cluster')
    group.add_argument('-o', '--output', dest='output', default='standard', metavar='<output>', choices=['json', 'standard'], help='The output type (json or standard)')
    group.add_argument('-d', '--debug', dest='debug', action='store_true', help='Run the command with extra logging')
    group.add_argument('-s', '--ssl', dest='ssl', const=True, default=False, nargs=0, action=CBDeprecatedAction, help='Use ssl when connecting to Couchbase (Deprecated)')
    group.add_argument('--no-ssl-verify', dest='ssl_verify', action='store_false', default=True, help='Skips SSL verification of certificates against the CA')
    group.add_argument('--cacert', dest='cacert', default=True, help='Verifies the cluster identity with this certificate')
    group.add_argument('-h', '--help', action=CBHelpAction, klass=self, help='Prints the short or long help message')