prompt-base
Advanced tools
Changelog
v3.0.0
Added
prompt.context
, an object that can be passed around at runtime to simplify rendering. Future releases will gradually improve context handling until we make a full transition to redux, or redux-like state. Throughout this process, special care will be taken to ensure that the API is the same until the transition to redux, at which time we'll fully document any API changes.Changelog
v2.0.2
Added
.getDefault
method: to consistently get the options.default
on any prompt type: input, list, choices etc.Changelog
v2.0.0
Potentially breaking changes
actions
property is initialized. It's unlikely that this will break anyone's code, since it doesn't change any of the behavior or functionality, but a major bump seemed appropriate just in case.