Registry / cli / alecthomas-kong-hcl

alecthomas-kong-hcl

JSON →
library1.0.1gogounverified

HCL decoder for the Kong command-line parser, enabling configuration via HCL files.

go get github.com/alecthomas/kong-hcl
INSTALL
IMPORT
SIG · ALECTHOMAS-KONG-HC
A
alecthomas-kong-hcl
cligov1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

konghcl
github.com/alecthomas/kong-hcl

Use HCL configuration with Kong CLI parser.

package main import ( "github.com/alecthomas/kong" "github.com/alecthomas/kong-hcl" ) var CLI struct { Name string `help:"Your name"` } func main() { ctx := kong.Parse(&CLI, kong.Configuration(konghcl.Loader)) _ = ctx }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
32
Perplexity
1
Resources
alecthomas-kong-hcl — go get alecthomas-kong-hcl · libregistry