Skip to content

Don't use dots in environment variables #39

@tomzo

Description

@tomzo

Most environment variables currently are in form of GOCD_CLI.VALUE. This is very inconvenient for unix shells where . is simply not allowed in environment variable name.
This leads to bad user experience:

$ export GOCDCLI_AUTH.TYPE=basic
bash: export: `GOCDCLI_AUTH.TYPE=basic': not a valid identifier

It would suffice to use underscores, e.g. GOCDCLI_AUTH_TYPE

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