Update new signatures
This commit is contained in:
parent
7cf7cdaffd
commit
318d6a4a2a
|
@ -42,7 +42,7 @@ impl Command for DecodeBase64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn signature(&self) -> Signature {
|
fn signature(&self) -> Signature {
|
||||||
Signature::build("decode base64")
|
Signature::build("decode new-base64")
|
||||||
.input_output_types(vec![(Type::String, Type::Binary)])
|
.input_output_types(vec![(Type::String, Type::Binary)])
|
||||||
.allow_variants_without_examples(true)
|
.allow_variants_without_examples(true)
|
||||||
.switch("url", "Decode the URL-safe Base64 version.", None)
|
.switch("url", "Decode the URL-safe Base64 version.", None)
|
||||||
|
@ -113,7 +113,7 @@ impl Command for EncodeBase64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn signature(&self) -> Signature {
|
fn signature(&self) -> Signature {
|
||||||
Signature::build("encode base64")
|
Signature::build("encode new-base64")
|
||||||
.input_output_types(vec![
|
.input_output_types(vec![
|
||||||
(Type::String, Type::String),
|
(Type::String, Type::String),
|
||||||
(Type::Binary, Type::String),
|
(Type::Binary, Type::String),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user