Skip to content

Tags: czinck/kong

Tags

v0.1.14

Toggle v0.1.14's commit message
Hide sub-tree when parent is hidden.

v0.1.13

Toggle v0.1.13's commit message
Ensure flag defaults (or envars) aren't scanned in as untyped tokens.

This avoids treating default values starting with "-" as flags.

v0.1.12

Toggle v0.1.12's commit message
Make ExpandPath public.

v0.1.11

Toggle v0.1.11's commit message
Don't show ... in help for named slice types.

v0.1.10

Toggle v0.1.10's commit message
Expand ~ for FileContentFlag.

v0.1.9

Toggle v0.1.9's commit message
Ensure context bindings are used for Run().

v0.1.8

Toggle v0.1.8's commit message
Support for adding bindings to the Context.

This is very useful for hooks to pre-construct objects that can be used
by all subsequent downstream commands, for example.

v0.1.7

Toggle v0.1.7's commit message
Apply hooks to default values.

v0.1.6

Toggle v0.1.6's commit message
Add an "embed" tag.

v0.1.5

Toggle v0.1.5's commit message
Add support for setting variables via tag.

This provides much more convenient composition when reusing structs in
different parts of the command grammar.

eg.

	type Embedded struct {
		Key string `help:"A key from ${where}."`
	}

	var cli struct {
		Embedded `set:"where=somewhere"`
	}