.commandDirectory(dir)
method to Api
to automatically add all modules in the directory as commands.strict()
mode to fail-fast on unrecognized flags or arguments, useful for detecting typos in command line input and alerting usersRefactor codebase to async/await, which requires Node 8+
Change .parseAndExit()
to output to stderr unless help or version is explicitly requested
Fix contextual help content shown when a command uses context.cliMessage()
Support additional arbitrary data as 2nd argument to .parse()
, to provide commands with runtime info beyond what is parsed from a given message/request, useful for chatbots and server-side apps
--no-
negation support to TypeBoolean