Skip to content

v0.4.0

Compare
Choose a tag to compare
@c4spar c4spar released this 04 Apr 21:38

Features

  • add support for deno v0.39.0 (d828f0c)
  • command: add zsh completions support (9493d90, f54d3a2)
  • command: add complete sub-command to completions command (fb63ec7)
  • command: add complete method for custom auto completions (7d5d25e, 9406a84, 5ce209d)
  • command: complete command names on help command (5897be1)
  • command: add action type (164585e)
  • command: add command type (2b9608c)
  • command: add autocompletion for types (16d5237)
  • flags: support method as option default value (ce09421)
  • table: add border option (a785164)

Bug Fixes

  • flags: fix default value (0244b50)

Code Refactoring

  • command: export default types (34fcddd)
  • command: make complete method in custom type class's optional. (253cd74)
  • command: update completions description (a3c5c72)
  • flags: refactor validateFlags method (2b51730)
  • flags: refactor getOptions method (3927c36)

Chore

  • license: update copyright (8264b1a)

Unit/Integration Tests

  • command: update sub-command test (0939b6d)
  • command,flags: don't call Deno.runTests() in test's (57f3a34)
  • flags: refactor test's (cf97a15, c021659)
  • flags: add value test (6e3bc57)
  • flags: add default value test (2fbfd54)
  • flags: add collect test (3c14011)

Documentation Updates

BREAKING CHANGES

  • command,flags: rename requires option to depends (c937466)

    To define depending options you have tu use the options depends instead of requires now.

  • command,flags: call parseValue only if the flag has a value (ab5ba30)

    Change type of value param from Type.parse() method from string | false to string