mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:35:59 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
27
docs/commands/str-contains.md
Normal file
27
docs/commands/str-contains.md
Normal file
@ -0,0 +1,27 @@
|
||||
# str contains
|
||||
Checks if string contains pattern
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> str contains <pattern> ...args {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* `<pattern>` the pattern to find
|
||||
* ...args: optionally check if string contains pattern by column paths
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -i, --insensitive: search is case insensitive
|
||||
|
||||
## Examples
|
||||
Check if string contains pattern
|
||||
```shell
|
||||
> echo 'my_library.rb' | str contains '.rb'
|
||||
```
|
||||
|
||||
Check if string contains pattern case insensitive
|
||||
```shell
|
||||
> echo 'my_library.rb' | str contains -i '.RB'
|
||||
```
|
||||
|
Reference in New Issue
Block a user