Task #17999
Milestone #17719: Booster operational test of one crate alongside existing BPM system
Milestone #17998: Improvements to bpmcli
Refactor to use getopt
Description
Arguments to bpmcli commands should be parsed via getopt.
History
#1 Updated by John Diamond about 3 years ago
- % Done changed from 0 to 50
Created an abstract base class for CLI commands: CLICommand. The base class handles command-line option parsing and requires ::helpShow() and ::run() methods be defined by the derived classes.
Made some effort towards implementing 'bpmcli dump' in this new framework.
#2 Updated by John Diamond about 3 years ago
- Status changed from Work in progress to Resolved
- % Done changed from 50 to 100
Was successful in integrating getopt into CLICommand and CLIDumpCommand. All of the CLI commands should use this framework going forward.