Skip to content

Suggestion: there should be separate dividers for hierarchies and multi-word options within the same hierarchy #29

Description

@e-nikolov

For example

type Multi struct {
	Word Word
}

type Word struct {
	String string
}

type Config struct {
	Multi     *Multi
	MultiWord *Word
}

This sort of config results in both of those options being turned into the flag multi-word-string . This causes some issues when sflags is used in combination with config file parsing libraries because it's impossible to automatically determine if multi-word-string is multi.word.string or multi-word.string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions