These are chat archives for BizArk/BizArk3

Nov 2017
Brian Brewder
Nov 06 2017 04:36

I have figured out a way to extend the BaCon command-line parser to support creating a CLI tool using a simple command pattern and have started coding a solution.

This update might include some breaking changes to BizArk 3. Hopefully breaking changes will only effect those that have deep integration (I might have to change the way arguments are parsed internally). Anybody following the sample code should be fine.

CLI integration will have the following features:

  1. Support for a complex, multi-level command hierarchy.
  2. Help will (can?) include a "graphical" representation of the command hierarchy.
  3. Each command will have it's own help displayed.
  4. Each command will essentially be it's own console app (inherits from BaseConsoleApp). The hierarchy is defined by inheritance.
  5. Command-line parsing will support all of the same features as the basic BizArk command-line parser, except default arguments will not be supported (they are used to identify the commands).

Please let me know if you have any ideas to make this work well.