Format and lint
This commit is contained in:
parent
2f0b961ab3
commit
fa9d61c280
|
@ -176,18 +176,19 @@ pub fn add_shell_command_context(mut engine_state: EngineState) -> EngineState {
|
|||
|
||||
// Strings
|
||||
bind_command! {
|
||||
DecodeBase32,
|
||||
EncodeBase32,
|
||||
DecodeBase32Hex,
|
||||
EncodeBase32Hex,
|
||||
DecodeHex,
|
||||
EncodeHex,
|
||||
|
||||
Char,
|
||||
Decode,
|
||||
Encode,
|
||||
DecodeBase64Old,
|
||||
EncodeBase64Old,
|
||||
DecodeBase32,
|
||||
EncodeBase32,
|
||||
DecodeBase32Hex,
|
||||
EncodeBase32Hex,
|
||||
DecodeBase64,
|
||||
EncodeBase64,
|
||||
DecodeHex,
|
||||
EncodeHex,
|
||||
DetectColumns,
|
||||
Parse,
|
||||
Split,
|
||||
|
|
|
@ -2,7 +2,7 @@ use data_encoding::Encoding;
|
|||
|
||||
use nu_engine::command_prelude::*;
|
||||
|
||||
const EXTRA_USAGE: &'static str = r"The default alphabet is taken from RFC 4648, section 6.
|
||||
const EXTRA_USAGE: &str = r"The default alphabet is taken from RFC 4648, section 6.
|
||||
|
||||
Note this command will collect stream input.";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use nu_engine::command_prelude::*;
|
||||
|
||||
const EXTRA_USAGE: &'static str = r"This command uses an alternative Base32 alphabet, defined in RFC 4648, section 7.
|
||||
const EXTRA_USAGE: &str = r"This command uses an alternative Base32 alphabet, defined in RFC 4648, section 7.
|
||||
|
||||
Note this command will collect stream input.";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ use data_encoding::Encoding;
|
|||
|
||||
use nu_engine::command_prelude::*;
|
||||
|
||||
const EXTRA_USAGE: &'static str = r"The default alphabet is taken from RFC 4648, section 4. A URL-safe version is available.
|
||||
const EXTRA_USAGE: &str = r"The default alphabet is taken from RFC 4648, section 4. A URL-safe version is available.
|
||||
|
||||
Note this command will collect stream input.";
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ mod hex;
|
|||
|
||||
pub use base32::{DecodeBase32, EncodeBase32};
|
||||
pub use base32hex::{DecodeBase32Hex, EncodeBase32Hex};
|
||||
pub use base64::{DecodeBase64, EncodeBase64};
|
||||
pub use hex::{DecodeHex, EncodeHex};
|
||||
|
||||
pub fn decode(
|
||||
|
|
|
@ -9,7 +9,8 @@ mod split;
|
|||
mod str_;
|
||||
|
||||
pub use base::{
|
||||
DecodeBase32, DecodeBase32Hex, DecodeHex, EncodeBase32, EncodeBase32Hex, EncodeHex,
|
||||
DecodeBase32, DecodeBase32Hex, DecodeBase64, DecodeHex, EncodeBase32, EncodeBase32Hex,
|
||||
EncodeBase64, EncodeHex,
|
||||
};
|
||||
pub use char_::Char;
|
||||
pub use detect_columns::*;
|
||||
|
|
Loading…
Reference in New Issue
Block a user