Skip to content

Custom format for GetDescription #48

@eloo

Description

@eloo

Hi,

i really like your simple approach for env configuration and also the possibility to easily print the env variables.
But i'm not that fully happy with the multiline format for the env variables and currently its pretty hard to adjust it.
So maybe it would be useful to have a possibility to pass an own format for the description lines like

"$1 [$2] - $3 (default $4)"

which would be create an output like this

TEST_ENV [string] - This is a test env variable (default "test")

Another maybe more easier approach to implement would be to add an method which returns the parsed metadata so it could be used to print using an own format.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions