def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--endpoint-id", "--hashes-log-file"] add_arguments(parser, args) parser.add_argument("--serialized", action="store_true", default=False) parser.add_argument("--dry-run", action="store_true", default=False) return parser
def __init__(self, app, app_args, cmd_name=None): Command.__init__(self, app, app_args, cmd_name) HelperBase.__init__(self)
def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--key"] add_arguments(parser, args) return parser
def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--peer-id", "--endpoint-id", "--process-log-file"] add_arguments(parser, args) parser.add_argument("--upload", action="store_true", default=False) return parser
def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--recipients", "--endpoint-id", "--data"] add_arguments(parser, args) return parser
def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--negotiation-id", "--body"] add_arguments(parser, args) parser.add_argument("--accept", action="store_true", default=False) return parser
def get_parser(self, prog_name): parser = Command.get_parser(self, prog_name) args = ["--negotiation-id", "--contribution-id"] add_arguments(parser, args) return parser