added "goto" command (PV.put all values as stored in csv)

This commit is contained in:
NichtJens
2020-11-02 20:21:23 +01:00
parent bbe00d1e03
commit ab8d08b6f8
2 changed files with 34 additions and 2 deletions

View File

@ -24,6 +24,12 @@ def handle_clargs():
parser_compare.add_argument("filenames", metavar="filename", nargs=2, help="name of input CSV file, two are needed")
parser_compare.add_argument("-v", "--ignore-values", help="do not check values", action="store_true")
parser_goto = subparsers.add_parser("goto", help="go to stored values")
parser_goto.add_argument("filename", help="name of input CSV file")
parser_goto.add_argument("-q", "--quiet", help="do not show each channel's answer", action="store_true")
parser_goto.add_argument("-s", "--serial", help="do not run checks in parallel", action="store_true")
parser_goto.add_argument("-t", "--timeout", help="connection timeout in seconds", type=float, default=1)
clargs = parser.parse_args()
if not clargs.command: