-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
At present, configuration can be loaded from one of three places (in order of priority):
- Environment flags, e.g.
PW_USERNAME
- Command-line options, e.g.
--username
- 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.