Skip to content

Abstract Command functions

Compare
Choose a tag to compare
@g105b g105b released this 16 Feb 18:03
· 99 commits to master since this release

With this release, the name, description and lists of required/optional parameters are provided to Commands by implementing abstract functions.

There are two main reasons that this has been changed:

  1. It is impossible to forget to implement the required parts of a Command now.
  2. This allows the Commands' constructors to be used to have data injected from outside of the application, without interference from the setup of command parameters, etc.