7f21b7fd7e
6582 - Incorrect documentation for some string operations ( #6610 )
...
* 6582 - Incorrect documentation for some string operations
* Update crates/nu-command/src/strings/str_/contains.rs
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com >
* Update crates/nu-command/src/strings/str_/ends_with.rs
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com >
* Update crates/nu-command/src/strings/str_/index_of.rs
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com >
* Update crates/nu-command/src/strings/str_/starts_with.rs
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com >
* Run rustfmt
Co-authored-by: MichelMunoz <>
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com >
2022-09-25 18:09:09 +02:00
0afe1e4e67
Test command names and search terms for redundancy ( #6380 )
...
* Test commands for proper names and search terms
Assert that the `Command.name()` is equal to `Signature.name`
Check that search terms are not just substrings of the command name as
they would not help finding the command.
* Clean up search terms
Remove redundant terms that just replicate the command name.
Try to eliminate substring between search terms, clean up where
necessary.
2022-08-24 11:16:47 +02:00
c2f4969d4f
Clippy fix for Rust 1.63 ( #6299 )
...
Take more sensitive lints into account
Somewhat ugly in some cases is the replacement of `.get(0)` with
`.first()`
2022-08-11 11:54:54 -05:00
820a6bfb08
feat: add search terms to category of strings ( #5723 )
2022-06-06 08:47:09 -05:00
3e09158afc
Move capitalize, downcase, upcase to /cases; fix some example descriptions; clarify usage text ( #5572 )
...
Co-authored-by: kyle <kyle@archtop.local >
2022-05-18 00:55:43 -04:00
2883d6cd1e
Remove Span::unknown ( #525 )
2021-12-19 18:46:13 +11:00
b35914bd17
Category option for signature ( #343 )
...
* category option for signature
* category option for signature
* column description for $scope
2021-11-17 17:22:37 +13:00
e756a9ea04
Port str indexof ( #327 )
...
* Port str indexof
* Fix clippy warning
Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com >
2021-11-12 08:45:39 +13:00