mirror of
https://github.com/nushell/nushell.git
synced 2025-07-07 01:52:03 +02:00
Add more input/output type annotations (#7532)
This commit is contained in:
committed by
GitHub
parent
d27263af97
commit
4e1f94026c
@ -20,6 +20,9 @@ impl Command for IntoSqliteDb {
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("into sqlite")
|
||||
.input_output_types(vec![(Type::Any, Type::Nothing)])
|
||||
.allow_variants_without_examples(true)
|
||||
// TODO: narrow disallowed types
|
||||
.required(
|
||||
"file_name",
|
||||
SyntaxShape::String,
|
||||
|
Reference in New Issue
Block a user