Skip to content

Tags: alecthomas/kong

Tags

v1.15.0

Toggle v1.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Allow the root node to define `Help()` (#593)

v1.14.0

Toggle v1.14.0's commit message
feat: signature defaults

Thanks to @cmilesdev for the first pass in #579!

v1.13.0

Toggle v1.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: expose ValueFormatter option through HelpOptions for custom Hel…

…pPrinters (#563)

v1.12.1

Toggle v1.12.1's commit message
fix: don't require a Run() method on dynamic commands

Commands can be dispatched via string, so this is not necessary to constitute a command.

v1.12.0

Toggle v1.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update license of levenshtein method (#539)

v1.11.0

Toggle v1.11.0's commit message
chore: optionally allow parsing of hyphen-prefixied flag parameters

This allows for eg. `foo --number -10`, `foo --flag -bar`.

Fixes #478, #315.

v1.10.0

Toggle v1.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Allow configuring global hooks via Kong's functional options (#511

)

Lets you pass `kong.WithBeforeApply` along with a function that supports dynamic bindings to register a `BeforeApply` hook without tying it directly to a node in the schema.

Co-authored-by: Sutina Wipawiwat <swipawiwat@squareup.com>

v1.9.0

Toggle v1.9.0's commit message
refactor: ParseError can carry an exit code

Reinstated use of ParseError for all error paths so as to retain existing semantics.

v1.8.1

Toggle v1.8.1's commit message
chore: add test for decoding

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Load environment variables as a resolver (#480)