Move stor commands to category Database (#11315)

Fixes #11309
This commit is contained in:
Hofer-Julian
2023-12-13 16:24:16 +01:00
committed by GitHub
parent d43f4253e8
commit 76482cc1b2
12 changed files with 13 additions and 11 deletions

View File

@ -31,7 +31,7 @@ impl Command for StorCreate {
Some('c'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -31,7 +31,7 @@ impl Command for StorDelete {
Some('w'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -25,7 +25,7 @@ impl Command for StorExport {
Some('f'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -25,7 +25,7 @@ impl Command for StorImport {
Some('f'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -31,7 +31,7 @@ impl Command for StorInsert {
Some('d'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -20,7 +20,7 @@ impl Command for StorOpen {
Type::Custom("sqlite-in-memory".into()),
)])
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -17,7 +17,7 @@ impl Command for StorReset {
Signature::build("stor reset")
.input_output_types(vec![(Type::Nothing, Type::Table(vec![]))])
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {

View File

@ -15,7 +15,7 @@ impl Command for Stor {
fn signature(&self) -> Signature {
Signature::build("stor")
.category(Category::Strings)
.category(Category::Database)
.input_output_types(vec![(Type::Nothing, Type::String)])
}

View File

@ -37,7 +37,7 @@ impl Command for StorUpdate {
Some('w'),
)
.allow_variants_without_examples(true)
.category(Category::Math)
.category(Category::Database)
}
fn usage(&self) -> &str {