-
Notifications
You must be signed in to change notification settings - Fork 109
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
feat: use default config path when no arg for -f is provided #2939
feat: use default config path when no arg for -f is provided #2939
Conversation
474f740
to
d4df7bc
Compare
fd35229
to
9837047
Compare
f03e9e8
to
6a01faa
Compare
6a01faa
to
641f525
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these no longer have to be Option
s, no? 👀
@Razz4780 think it does because PathBuf can either be Let me know if I am making sense. |
Ah yes, this is correct. Sorry for confusion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small comments on the PR:
- The IDE plugins use a default path of
.mirrord/mirrord.json
, I think the default path in the CLI should be the same. - Currently users are able to specify a config file without a
=
sign, like this:-f my-mirrord-config.json
. After this change, will that still work? If not, this is a breaking change.
and it works, don't believe this will break the existing user experience. I will add a test just in case |
…issing value for -f
part of #1706