kong: env interpolation does not seem to work

I have the following structure:

type Config struct {
	Project   string `short:"p" env:"CI_PROJECT_ID" help:"Environment variable: ${env}"`
}

When I try to use it, I get:

panic: help for --project=STRING: undefined variable ${env}

I am using kong v0.2.18.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (18 by maintainers)

Commits related to this issue

Most upvoted comments