Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mode option #157

Closed
ncallaway opened this issue Nov 18, 2021 · 1 comment
Closed

Add a mode option #157

ncallaway opened this issue Nov 18, 2021 · 1 comment

Comments

@ncallaway
Copy link
Contributor

Add a mode option that will be used for writing the config file. This feature may be useful if you want to produce a config file that is not world or group readable (or writable).

An example use case is the aws cli, which allows the user to configure a profile with aws configure --profile [profilename]. The profiles are configured in ~/.aws/config and ~/.aws/credentials with a 0o600 mode.

@sindresorhus
Copy link
Owner

Fixed by #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants