mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Allow passing test witout examples.
Not sure how to have examples run in parse-time.
This commit is contained in:
parent
3ee9b8ae08
commit
7acdb266a5
@ -13,6 +13,7 @@ impl Command for SubCommand {
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("path const")
|
||||
.input_output_type(Type::Nothing, Type::String)
|
||||
.allow_variants_without_examples(true)
|
||||
.optional(
|
||||
"path",
|
||||
SyntaxShape::Filepath,
|
||||
|
Loading…
Reference in New Issue
Block a user