Skip to content

Add -c/--config flag to specify config file path.#59

Merged
kytrinyx merged 1 commit intoexercism:masterfrom
isbadawi:config-flag
Feb 24, 2014
Merged

Add -c/--config flag to specify config file path.#59
kytrinyx merged 1 commit intoexercism:masterfrom
isbadawi:config-flag

Conversation

@isbadawi
Copy link
Contributor

This is intended to address #42. It adds a --config flag, defaulting to $HOME/.exercism.go. I also changed configuration.ToFile, configuration.FromFile, and logout to just take paths, instead of taking directories and implicitly looking for .exercism.go inside those directories.

Let me know if this looks fine!

@kytrinyx
Copy link
Member

This looks good, thank you.

kytrinyx added a commit that referenced this pull request Feb 24, 2014
Add -c/--config flag to specify config file path.
@kytrinyx kytrinyx merged commit 69d9699 into exercism:master Feb 24, 2014
lcowell pushed a commit to lcowell/cli that referenced this pull request Jan 25, 2015
Add -c/--config flag to specify config file path.
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

Successfully merging this pull request may close these issues.

2 participants