Skip to content

Configuration files #5

@stephenfin

Description

@stephenfin

At present, configuration can be loaded from one of three places (in order of priority):

  1. Environment flags, e.g. PW_USERNAME
  2. Command-line options, e.g. --username
  3. The git-config cache, e.g. git config pw.username

There's no reason to break this. However, we should add a fourth mechanism: configuration files. This would allow us to distribute the configuration as part of source control. This configuration file could take the format of pwclientrc files. However, we may also wish to learn from some of the mistakes of that format.

If we do this, we may also wish to add an init sub-command, which would initialize the git-config cache with this data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions