mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:26:01 +02:00
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "nu_plugin_match"
|
||||
version = "0.12.0"
|
||||
authors = ["Yehuda Katz <wycats@gmail.com>", "Jonathan Turner <jonathan.d.turner@gmail.com>", "Andrés N. Robalino <andres@androbtech.com>"]
|
||||
authors = ["The Nu Project Contributors"]
|
||||
edition = "2018"
|
||||
description = "A regex match plugin for Nushell"
|
||||
license = "MIT"
|
||||
|
@ -11,7 +11,7 @@ impl Plugin for Match {
|
||||
fn config(&mut self) -> Result<Signature, ShellError> {
|
||||
Ok(Signature::build("match")
|
||||
.desc("filter rows by regex")
|
||||
.required("member", SyntaxShape::Member, "the column name to match")
|
||||
.required("member", SyntaxShape::String, "the column name to match")
|
||||
.required("regex", SyntaxShape::String, "the regex to match with")
|
||||
.filter())
|
||||
}
|
||||
|
Reference in New Issue
Block a user