Module

x/cliffy/CHANGELOG.md

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
File

Changelog (Fri May 29 00:33:24 2020)

Features

  • command: add support for global and hidden environment variable’s (9e98940)
  • command: add support for global command’s (ec42c7a)
  • command: add support for global completion’s (1d814e2)
  • command: add support for global type’s (91c1569)
  • command: add support for global option’s (#2) (7d6e7cf)
  • command: make args parameter optional in .parse() method (fabfd32)

Code Refactoring

  • command: remove ICommandMap interface (eb3f578)

Changelog (Sun May 24 12:58:04 2020)

Bug Fixes

  • command: help command fails with registered environment variables (#31) (b176bd4)

Chore

  • ci: test’s in packages/command/test/command were not executed (2436fd2)

Changelog (Fri May 22 01:11:03 2020)

Features

  • command: add support for hidden options’s #23 (42f701f)
  • command: add support for hidden command’s #22 (1866b75)
  • command: add .getHelp() method to HelpCommand (9b96d10)
  • command: add .name() method and refactor internal name and path handling (#21) (362d8ea)
  • command: make arguments generic (8a153a7)
  • command,flags: make options generic (09a3d00)

Bug Fixes

  • command: environment variables are always invalid (fa131eb)
  • command: separator option is ignored (0405244)
  • command: default option incompatible with standalone option (e9e6aa5)
  • command: depends info is not shown in help output (0e2e860)
  • command,keycode: CLIFFY_DEBUG does not work (4e90d77)
  • flags: standalone option could be combined with options whose value is optional and has a default value (5cd8287)
  • flags: standalone option could be combined with another standalone option (cb91b85)
  • keycode: fix compile error which happened with deno v1.0.1 (dcfa470)
  • keycode: remove doublicate export of IGenericObject (28fd483)

Code Refactoring

  • use encoding/utf8 for text encoding (81d4b04)

Chore

Documentation Updates

  • fix issues link (c64282e)
  • command: add executable example commands (8fbe263)
  • command: add documentation and example’s for hidden command’s and option’s (0c2f400)
  • command: add generic types example and documentation (0998f55)
  • prompt: fix prompt example (90f8595)

BREAKING CHANGES

  • command: rename IFlagsParseResult to IParseResult (eaeb634)

v0.6.1 (Tue May 12 22:42:37 2020)

Bug Fixes

  • add missing entry files and module exports for prompt & keycode module #19 (f16863d)

v0.6.0 (Mon May 11 01:33:23 2020)

Code Refactoring

  • command: make command’s executable without –allow-env flag #11 (03117ed)
  • x: make format executable without –allow-env flag #11 (2db057e)

Chore

  • add support for deno v1.0.0-rc2 (acb84e1)

Documentation Updates

BREAKING CHANGES

  • prompt: prompt requires the –unstable flag to work with deno >= v0.42.0 (6cd9d3f)

v0.5.1 (Sun May 3 21:09:49 2020)

Bug Fixes

  • flags: default option incompatible with depends option and boolean flag’s (b76a9a7)

v0.5.0 (Sun May 3 02:11:43 2020)

Features

Code Refactoring

  • use explicit version of deno std module’s (fcdf97a)
  • use utf8 encoding module instead of TextEncoder for text encoding (b29e1ba)
  • command: use new Table class in help command (5f203d1)

Chore

Documentation Updates

BREAKING CHANGES

  • table: rewrite table module (65988b7)

    Old table method’s like table and renderTable are replaced by the new Table class.

v0.4.0 (Sat Apr 4 23:34:06 2020)

Features

  • 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

  • add support for deno v0.39.0 (d828f0c)
  • 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

v0.3.0 (Tue Mar 31 17:49:50 2020)

Features

  • add support for deno v0.38.0 (80d7ba4, 9824899, 26b58be)
  • command: add support for custom type class’s (7006a67)
  • flags: add parse and remove types option to simplify custom types (d1bc510)

Bug Fixes

  • command: suppress Missing argument(s) error for standalone options (47b162e)
  • command: fix IArgumentDetails and IOption interface (52193e5)

Code Refactoring

  • command: change type of commands from Array to Map (52f7e1f)
  • command: refactor sub-command helper methods (d6d1b05)
  • command: refactor internal args handling and add some args helper methods (957347e)

Documentation Updates

v0.2.0 (Mon Mar 23 00:36:36 2020)

Features

  • command: validate environment variables (179ef30)
  • command: add support for custom types (fbfea55)
  • flags: add parseFlagValue() method (1983bd1)

Code Refactoring

  • command: refactor env() method (a1a3364)
  • command: print help when the completions command is called without arguments (b2c4f91)
  • command: update description of completions command (5feeb77)
  • command: update description of help command (15a3fd5)
  • command: print only first line of description in options and command list (8cf33a1)
  • command: exit program after help and version is printed (05bc677)
  • flags: refactor string type (6900462)
  • flags: refactor boolean type (10997f6)
  • table: refactor table method (8228ac1)

Documentation Updates

v0.1.0 (2020-03-18)

Features

Chore

Documentation Updates