Skip to content

CF_HOME is not taken into account #279

@krismarc

Description

@krismarc

config = Path(config_path) if config_path else Path.home() / '.cf/config.json'

The client should take CF_HOME into consideration before defaulting to user's home.

https://docs.cloudfoundry.org/cf-cli/getting-started.html#login

By default, config.json is located in the ~/.cf directory. You can relocate the config.json file using the CF_HOME environment variable.

I believe I've got this re-implemented somewhere which handles both Linux/Windows platforms (as I remember I faced some edge case while trying in one of systems). I'll try to find and share/place PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions