Releases: c4spar/deno-cliffy
Releases · c4spar/deno-cliffy
v0.5.0
Features
- ansi-escape: add
ansi escape
module (#1) (0ac92c2) - keycode: add
keycode
module (f61d033, 3be5b72, 9869720) - prompt: add
prompt
module (#4) (df2221e)
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
andrenderTable
are replaced by the newTable
class.
v0.4.0
Features
- add support for deno v0.39.0 (d828f0c)
- command: add zsh completions support (9493d90, f54d3a2)
- command: add
complete
sub-command tocompletions
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
v0.3.0
Features
- add support for deno v0.38.0 (80d7ba4, 9824899, 26b58be)
- command: add support for custom type class's (7006a67)
- flags: add
parse
and removetypes
option to simplify custom types (d1bc510)
Bug Fixes
- command: suppress
Missing argument(s)
error for standalone options (47b162e) - command: fix
IArgumentDetails
andIOption
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
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)