Skip to content

Releases: StauroDEV/spektr

0.1.1

07 Jul 12:34
Compare
Choose a tag to compare

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

05 Jul 12:34
Compare
Choose a tag to compare

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

29 Apr 15:25
Compare
Choose a tag to compare
fix comma

0.0.4

29 Apr 15:09
Compare
Choose a tag to compare

Full Changelog: 0.0.3...0.0.4

0.0.3

07 Apr 01:13
Compare
Choose a tag to compare
  • 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

20 Mar 20:16
Compare
Choose a tag to compare
fix deno install

0.0.1

20 Mar 16:47
Compare
Choose a tag to compare

Full Changelog: 0.0.0-alpha.3...0.0.1

npm publish another attempt

15 Mar 19:31
Compare
Choose a tag to compare
0.0.0-alpha.3

add a publish gf action

npm publish

15 Mar 19:26
Compare
Choose a tag to compare
0.0.0-alpha.2

add a publish gf action

0.0.0-alpha.1

15 Mar 19:15
Compare
Choose a tag to compare
complete rename to spektr