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 umkdir
command
#10785
Add umkdir
command
#10785
Conversation
@KAAtheWiseGit |
@amtoine, yeah. I couldn't compile I'll probably try adding tests and running the workflows. |
let us know when you have tests to run 😊 |
I just realized I can simply copy the The only thing which is not supported by |
What about the |
@fdncred, yes, I've enabled it by default. It is controlled by the |
ok, cool. I don't see anything really missing then. Are we ready to land it? |
If the |
ok, thanks. Is there no nushell functionality that will expand |
I don't see it. Is this something built-in into the arguments? Also, I noted two more issues in my code, I'll need to fix those. |
Let's make this a draft until all issues are resolved.
Do you mind saying what those are? All I see is the BTW - I had no issues compiling this PR. |
Oh, I see what's going on.
|
Got it! I also forgot about examples and, quite embarrassingly, proper error wrapping. |
Somehow I added examples, uutils tag, three-dot test, and put the command into |
So, while I was writing the issue, I realized I didn't have the necessary dependency. I managed to get the tests running locally, will fix the issues in a moment. |
A `mkdir` command, which uses the `uutils` backend.
Attempt two. This time |
Both |
I just realized the tests were checking the error output for some reason. I switched it to normal output, so now all tests pass. |
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. Seems to be working well from my testing.
A `mkdir` command, which uses `uu_mkdir` as backend. close nushell#10515.
A `mkdir` command, which uses `uu_mkdir` as backend. close nushell#10515.
<!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> `umkdir` was added in #10785, I think it's time to replace the default one. # After Submitting Remove the old `mkdir` command and making coreutils' `umkdir` as the default
A
mkdir
command, which usesuu_mkdir
as backend.close #10515.