Releases: ryangoree/clide-js
clide-js@v0.1.2
- Used the current
State.data
value by default inState.fork
- Ensured setting camel-case option values in
State.fork
will result in the corresponding hyphen-case and aliases being set too.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.2-alpha.0...clide-js@v0.1.2
clide-js@v0.1.2-alpha.0
- Moved
CoreVoting.invokeCommands
toState.fork
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.1...clide-js@v0.1.2-alpha.0
clide-plugin-command-menu@v0.0.7
- Exit the process when the prompt is canceled by default.
- Changed
onExit
option toonCancel
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-plugin-command-menu@v0.0.6...clide-plugin-command-menu@v0.0.7
clide-js@v0.1.1
- Added types to the value passed to the
OptionGetter
'svalidate
function.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0...clide-js@v0.1.1
clide-js@v0.1.0
- Wrap
help
plugin in a function and add amaxWidth
option. - Add
secret
option type. - Removed some properties from
Context
andState
to simplify their APIs:
❌Context.isResolved
❌Context.isParsed
❌Context.isReady
❌State.isDone
- Renamed hook prefixes in
Hooks
pre
->before
(e.g.,preResolve
->beforeResolve
)post
->after
(e.g.,postResolve
->afterResolve
)
- Added an
invokeCommand
method toContext
which can be used to invoke an arbitrary list of command modules or resolved commands within the same execution context. - Fixed a bug where non-required options were still throwing errors if not defined by Ignoring
undefined
during option type validation. - Fixed number option validation.
- Fixed the trigger for
onPromptExit
to ensure the process only exits when a prompt is canceled rather than left blank. - Change the signature for
Context.invokeCommand
to use a single object argument to make it possible to passoptionValues
andparamValues
to invoked commands.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.0.16...clide-js@v0.1.0
clide-plugin-command-menu@v0.0.7-alpha.1
- Changed
onExit
option toonCancel
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-plugin-command-menu@v0.0.7-alpha.0...clide-plugin-command-menu@v0.0.7-alpha.1
clide-js@v0.1.0-alpha.4
- Change the signature for
Context.invokeCommand
to use a single object argument to make it possible to passoptionValues
andparamValues
to invoked commands.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0-alpha.3...clide-js@v0.1.0-alpha.4
clide-js@v0.1.0-alpha.3
- Fixed the trigger for
onPromptExit
to ensure the process only exits when a prompt is canceled rather than left blank.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0-alpha.2...clide-js@v0.1.0-alpha.3
clide-js@v0.1.0-alpha.2
- Removed some properties from
Context
andState
to simplify their APIs:
❌Context.isResolved
❌Context.isParsed
❌Context.isReady
❌State.isDone
- Renamed hook prefixes in
Hooks
pre
->before
(e.g.,preResolve
->beforeResolve
)post
->after
(e.g.,postResolve
->afterResolve
)
- Added an
invokeCommand
method toContext
which can be used to invoke an arbitrary list of command modules or resolved commands within the same execution context. - Fixed a bug where non-required options were still throwing errors if not defined by Ignoring
undefined
during option type validation. - Fixed number option validation.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-plugin-command-menu@v0.0.7-alpha.1...clide-js@v0.1.0-alpha.2
clide-plugin-command-menu@v0.0.7-alpha.0
- Exit the process when the prompt is canceled by default.
Full Changelog: https://github.com/ryangoree/clide-js/compare/clide-js@v0.1.0-alpha.1...clide-plugin-command-menu@v0.0.7-alpha.0