Home
last modified time | relevance | path

Searched defs:Kong (Results 1 – 13 of 13) sorted by relevance

/dports/devel/chroma/chroma-0.9.2/vendor/github.com/alecthomas/kong/
H A Dkong.go35 type Kong struct { struct
37 Model *Application
40 Exit func(int)
42 Stdout io.Writer
43 Stderr io.Writer
45 bindings bindings
48 registry *Registry
50 noDefaultHelp bool
51 usageOnError bool
55 helpFlag *Flag
[all …]
H A Dbuild.go9 func build(k *Kong, ast interface{}) (app *Application, err error) {
79 func buildNode(k *Kong, v reflect.Value, typ NodeType, seenFlags map[string]bool) *Node {
128 func buildChild(k *Kong, node *Node, typ NodeType, v reflect.Value, ft reflect.StructField, fv refl…
171 func buildField(k *Kong, node *Node, v reflect.Value, ft reflect.StructField, fv reflect.Value, tag…
H A Dutil.go14 func (c ConfigFlag) BeforeResolve(kong *Kong, ctx *Context, trace *Path) error {
31 func (v VersionFlag) BeforeApply(app *Kong, vars Vars) error {
H A Doptions.go15 Apply(k *Kong) error
21 func (o OptionFunc) Apply(k *Kong) error { return o(k) } // nolint: golint
29 func (v Vars) Apply(k *Kong) error {
H A Dcontext.go48 *Kong anonMember
68 func Trace(k *Kong, args []string) (*Context, error) {
/dports/net/syncthing/syncthing-1.18.1/syncthing/vendor/github.com/alecthomas/kong/
H A Dkong.go42 type Kong struct { struct
44 Model *Application
47 Exit func(int)
49 Stdout io.Writer
50 Stderr io.Writer
52 bindings bindings
54 resolvers []Resolver
55 registry *Registry
57 noDefaultHelp bool
63 helpFlag *Flag
[all …]
H A Dbuild.go14 func build(k *Kong, ast interface{}) (app *Application, err error) {
90 func buildNode(k *Kong, v reflect.Value, typ NodeType, seenFlags map[string]bool) *Node {
139 func buildChild(k *Kong, node *Node, typ NodeType, v reflect.Value, ft reflect.StructField, fv refl…
183 func buildField(k *Kong, node *Node, v reflect.Value, ft reflect.StructField, fv reflect.Value, tag…
225 func buildGroupForKey(k *Kong, key string) *Group {
H A Dutil.go14 func (c ConfigFlag) BeforeResolve(kong *Kong, ctx *Context, trace *Path) error {
31 func (v VersionFlag) BeforeApply(app *Kong, vars Vars) error {
H A Doptions.go16 Apply(k *Kong) error
22 func (o OptionFunc) Apply(k *Kong) error { return o(k) } // nolint: golint
30 func (v Vars) Apply(k *Kong) error {
235 func (g Groups) Apply(k *Kong) error { // nolint: golint
H A Dcontext.go70 *Kong anonMember
90 func Trace(k *Kong, args []string) (*Context, error) {
/dports/science/lammps/lammps-stable_29Sep2021/doc/src/
H A Dfix_phonon.rst209 .. _Kong: target
/dports/games/mahjong/mj-1.16-src/
H A Dplayer.h43 Kong = 3, enumerator
/dports/devel/chroma/chroma-0.9.2/vendor/github.com/alecthomas/kong/_examples/docker/
H A Dmain.go27 func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error {