-
Notifications
You must be signed in to change notification settings - Fork 409
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 shell
subcommands (mkdir
, rmdir
) in envtool
#2596
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2596 +/- ##
==========================================
- Coverage 27.73% 27.70% -0.03%
==========================================
Files 416 416
Lines 20512 20512
==========================================
- Hits 5688 5683 -5
- Misses 14239 14243 +4
- Partials 585 586 +1 see 4 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Thanks for your contribution 🤗 Great work! I have a few comments
@chilagrow thank you! I pushed changes |
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.
Thanks for adding the test! I've run the tests against windows so it was very helpful 🤗
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 checked on Windows. It worked like this:
go run .\cmd\envtool shell mkdir tmp/test
go run .\cmd\envtool shell rmdir tmp/test
bin\task env-reset
also passed.
Description
Closes #2548.
Added implementation of
shell
subcommands:mkdir
rmdir
.When errors occur they functions return combined them into one error.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.