PyBERT icon indicating copy to clipboard operation
PyBERT copied to clipboard

Command-line Options

Open dghan0219 opened this issue 5 years ago • 4 comments

Add command-line options for PyBERT when it loads to do one, multiple, or all of the following...

  1. Load configuration
  2. Save configuration
  3. Load results
  4. Save results
  5. Run
  6. Exit with options to save results and/or configuration or no option at all
  7. Repeat with another set of options

A possible scenario is load config, run, save results, exit. Another scenario might be to load config, load results, run, and then pass to manual control.

dghan0219 avatar May 14 '20 15:05 dghan0219

This sounds like something better served, via a simple tool scripting language, ala Tcl. I think that might be a more appropriate and extensible solution than command line options. What do you think?

capn-freako avatar Dec 09 '21 22:12 capn-freako

I've only used Tcl for very basic stuff, so maybe I don't understand enough about it. It seems to me command-line options for PyBERT would still be needed for the Tcl script.

dghan0219 avatar Dec 09 '21 22:12 dghan0219

Attention helpers! Please, use the branch created for this issue: 89-command-line-options.

Thanks! -db

capn-freako avatar Sep 26 '22 00:09 capn-freako

Why not use something like argparse, cf. https://docs.python.org/3/library/argparse.html?

unbtorsten avatar Oct 03 '22 00:10 unbtorsten