Skip to content

v0.3.0

Compare
Choose a tag to compare
@andrey-zherikov andrey-zherikov released this 12 Oct 20:03
· 179 commits to master since this release
bca9432

Enhancements

  • Added help generation.
  • Additional parsing functions that accept callback:
    • int parseCLIKnownArgs(T, FUNC)(string[] args, FUNC func, in Config config = Config.init, T initialValue = T.init)
    • int parseCLIArgs(T, FUNC)(string[] args, FUNC func, in Config config = Config.init, T initialValue = T.init)

Breaking changes

  • CommandLineParser struct is removed. Use one of parseCLIArgs or parseCLIKnownArgs functions instead.