Changelog
v1.6.2 (Aug 11, 2020)
Changelog
v1.6.1 (Aug 5, 2020)
callback
and hint
.Changelog
v1.6.0 (Aug 3, 2020)
CLI
instanced styles to help template rendering.Terminal
and not if some other
logic listens on stdin.--version
to work properly.Changelog
v1.5.2 (Jul 24, 2020)
keypress
event listeners were not properly being wired up to
stdin
resulting in the listener not being removed after being fired once.Changelog
v1.5.1 (Jul 23, 2020)
generateHelp
hook event in
v1.3.0 when generated JSON object is stringified.Changelog
v1.5.0 (Jul 23, 2020)
showHelp
flag on thrown errors to override showHelpOnError
. Defaults to
true
. This still requires help
to be enabled.error
style for help template and server mode error handling.fast-levenshtein
with fastest-levenshtein
.Changelog
v1.4.0 (Jul 21, 2020)
styles
passed into the CLI
constructor as well
as the exec()
method.subheading
style.:
wasn't styled and
whitespace was being trimmed.Changelog
v1.3.0 (Jul 21, 2020)
exec
hook event.ctx
property to generateHelp
hook event.parse
hook event was being omitted from the cloned
context which is not accessible instead of the originating CLI
instance.Command
and Extension
objects were passed by reference.Changelog
v1.2.4 (Jun 24, 2020)
WriteStream
to improve compatibility with
packages that check isTTY
and terminal helper functions such as cursorTo()
and
clearLine()
.Changelog
v1.2.3 (Jun 19, 2020)
timeout
option to CLI.connect()
with default of 5 seconds.CLI.connect()
now waits for terminal resize handshake to complete before resolving.