Releases: StauroDEV/spektr
Releases · StauroDEV/spektr
0.1.1
What's changed
- Fixed middleware not working for subcommands
- Fixed plugins not initializing properly for subcommands when passed as second arg
Other changes
- Increased coverage by 2%
Full Changelog: 0.1.0...0.1.1
0.1.0
What's changed
- Middleware API. Now you can run a chain of functions before a command handler executes.
cli.middleware('*', (...args) => console.log('[DEBUG]', ...args))
cli.middleware('hello', (...args) => console.log('only runs before hello'))
cli.command('hello', () => console.log('Hello!'))
- Plugins are now extended by programs (subcommands)
Misc
- Fix a bug with default command
- Increase code coverage to 90%
- Update readme example
Full Changelog: 0.0.5...0.1.0
0.0.5
fix comma
0.0.4
Full Changelog: 0.0.3...0.0.4
0.0.3
- Allow setting default command for a program
- Add command description
- Fix various bugs with path finding
- Read-only Plugin API
Full Changelog: 0.0.2...0.0.3
0.0.2
fix deno install
0.0.1
Full Changelog: 0.0.0-alpha.3...0.0.1
npm publish another attempt
0.0.0-alpha.3 add a publish gf action
npm publish
0.0.0-alpha.2 add a publish gf action
0.0.0-alpha.1
complete rename to spektr