Skip to content
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

📝 Update str trim CLI help doc #11383

Merged
merged 2 commits into from Dec 20, 2023
Merged

Conversation

AucaCoyan
Copy link
Contributor

@AucaCoyan AucaCoyan commented Dec 20, 2023

Description

Hi! I updated the samples of str trim because there were repeated and clarified the explanations

User-Facing Changes

Yes! I send the details here:

image

(old is version 88.1 not the latest main)

Tests + Formatting

I ran toolkit check pr successfully

There was a tiny problem, a test I never touched now it's failing

(^echo a | complete) == {stdout: "a\n", exit_code: 0}

should output true but outputs false, both in my running nu version and in my PR version
This make the test nu-command::main commands::complete::basic fail
located in crates\nu-command\tests\commands\complete.rs

After Submitting

I'm not sure if I need to update nushell.github.io, some of the help is auto-generated, but maybe not all?
I can file a PR if needed

@AucaCoyan
Copy link
Contributor Author

wat 😮 . I didn't expected the check to pass.
This doesn't work on my machine 🤣

I guess "this doesn't work on my machine but github says it is okay" is the new works in my machine lol

This can be merged but, is anybody having the same problem?

@fdncred
Copy link
Collaborator

fdncred commented Dec 20, 2023

ok, thanks.

@fdncred fdncred merged commit 109f629 into nushell:main Dec 20, 2023
19 checks passed
@AucaCoyan AucaCoyan deleted the fix-str-trim-help branch December 20, 2023 20:49
dmatos2012 pushed a commit to dmatos2012/nushell that referenced this pull request Feb 20, 2024
# Description
Hi! I updated the samples of `str trim` because there were repeated and
clarified the explanations

# User-Facing Changes
Yes! I send the details here:


![image](https://github.com/nushell/nushell/assets/30557287/e30a5612-4214-4365-8b83-7aefbc0ee825)

(`old` is version `88.1` not the latest main)

# Tests + Formatting
~~I ran `toolkit check pr` successfully~~

There was a tiny problem, a test I never touched now it's failing

```nu
(^echo a | complete) == {stdout: "a\n", exit_code: 0}
```
should output `true` but outputs `false`, both in my running `nu`
version and in my PR version
This make the test `nu-command::main commands::complete::basic` fail
located in `crates\nu-command\tests\commands\complete.rs`

# After Submitting
I'm not sure if I need to update nushell.github.io, some of the help is
auto-generated, but maybe not all?
I can file a PR if needed
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.

None yet

2 participants