Allow passing test witout examples.

Not sure how to have examples run in parse-time.
This commit is contained in:
Bahex 2024-11-17 13:08:23 +03:00
parent 3ee9b8ae08
commit 7acdb266a5

View File

@ -13,6 +13,7 @@ impl Command for SubCommand {
fn signature(&self) -> Signature { fn signature(&self) -> Signature {
Signature::build("path const") Signature::build("path const")
.input_output_type(Type::Nothing, Type::String) .input_output_type(Type::Nothing, Type::String)
.allow_variants_without_examples(true)
.optional( .optional(
"path", "path",
SyntaxShape::Filepath, SyntaxShape::Filepath,