Skip to content

New abstract Command class

Compare
Choose a tag to compare
@g105b g105b released this 14 Mar 15:37
· 37 commits to master since this release

To help with readability, all of the behaviours of a Command must now be defined in the return of new get* functions on the base Command class.

This avoids having to remember all of the possible options to perform in the constructor. New functions include:

  • getName
  • getDescription
  • getRequiredNamedParameterList
  • getOptionalNamedParameterList
  • getOptionalParameterList
  • getRequiredParameterList