コード例 #1
0
 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
コード例 #2
0
 def get_parser(self, prog_name):
     parser = Command.get_parser(self, prog_name)
     args = ["--key"]
     add_arguments(parser, args)
     return parser
コード例 #3
0
 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
コード例 #4
0
 def get_parser(self, prog_name):
     parser = Command.get_parser(self, prog_name)
     args = ["--recipients", "--endpoint-id", "--data"]
     add_arguments(parser, args)
     return parser
コード例 #5
0
 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
コード例 #6
0
 def get_parser(self, prog_name):
     parser = Command.get_parser(self, prog_name)
     args = ["--negotiation-id", "--contribution-id"]
     add_arguments(parser, args)
     return parser