Releases: Yord/shargs-repl
Releases · Yord/shargs-repl
0.5.0
Notable Features
- Autocomplete now works with positional arguments that have an
only
field.
0.4.0
Breaking Changes
- The
repl
function defaults now to an asynchronous version returning a promise.
- The
replSync
function is introduced to take over repl
's former behavior.
Notable Changes
- The
replF
function is now available that takes a mode
object describing a mode of execution. See Async for an implementation of asynchronous execution and Sync for synchronous execution.
0.3.0
Breaking Changes
- The replEval function signature has changed from
(args) => void
to (args, errs) => void
. Also, error handling is now expected to be performed by the action. (e20e935)
0.2.0
Breaking Changes
- The completer function signature has changed from
(parser, commands) => line => [matches, line]
to (lexer, cmd, {only}) => line => [matches, line]
. (795b8c1)
Notable Changes
- Reimplement autocomplete based on shargs lexer function. (c2a5d23)