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

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