-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(cli): add cli option to specify working path #6810
feat(cli): add cli option to specify working path #6810
Conversation
7260721
to
0e20911
Compare
Could need some help to write proper tests 🙏 |
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.
LGTM! It's pretty small sized!
Yupp, we might want some test here, but I'll assume that to be simple!
0e20911
to
4bc9a33
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.
Some phrasing changes, and I'd like to consider a short flag ala -C
.
4bc9a33
to
1680722
Compare
1680722
to
0375515
Compare
-C, --directory are the common options for this in unix tools (make, tar) if you're willing to tweak the doc a tiny bit to match that. |
0375515
to
259cf2b
Compare
Fair enough. But https://xkcd.com/1168/ 🤣 |
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.
I'd like to see this as --directory, -C
only, as not only does it match other tools, but --project
feels more vague in intent/subject to misinterpretation.
The implementation LGTM.
259cf2b
to
e68ea1e
Compare
e68ea1e
to
34618b3
Compare
34618b3
to
c3e48b2
Compare
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Resolves: #2179, #7039