Releases: ryangoree/clide-js
Releases · ryangoree/clide-js
clide-plugin-command-menu@0.1.0
clide-js@0.2.0
Minor Changes
- 2eb1489:
- Polished up internal ✨test utils✨ and added them to the exports so you can easily test you're CLIs and plugins!
- Made the
logger
plugin more full featured withprefix
,logFile
, andenabled
options, and util functions for enabling/disabling the logger during runtime. - Added
formatFileName
util function to exports. - Added getters to
State
forclient
, ... so they can be accessed without needing to go through throughContext
. - Made the
Hooks
type a generic which takes aHooksObject
type param. - Made the
PluginInfo
type a generic which takes aPluginMeta
type param. - Renamed
StateOptions.data
toStateOptions.initialData
. - Refactored command resolution to ignore relative paths.
- Fixed the
optionValues
type onState.fork
to work with command types that have an optionaloptions
field.
clide-plugin-command-menu@0.0.8
clide-js@0.1.5
clide-js@0.1.4
Patch Changes
- a374cd6: Removed unimplemented option config param
prompt
and implemented unimplemented option config paramnargs
.
clide-js@0.1.3
Patch Changes
- d1980be: Added a
string
field to options config to control how numberish values are parsed in array options
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