mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:45:41 +02:00
@ -59,7 +59,7 @@ impl Command for Compact {
|
||||
}),
|
||||
},
|
||||
Example {
|
||||
description: "Filter out all instances of nothing from a list (Returns [1,2]",
|
||||
description: "Filter out all instances of nothing from a list (Returns [1,2])",
|
||||
example: r#"echo [1, $nothing, 2] | compact"#,
|
||||
result: Some(Value::List {
|
||||
vals: vec![Value::test_int(1), Value::test_int(2)],
|
||||
|
@ -66,7 +66,7 @@ impl Command for Base64 {
|
||||
},
|
||||
Example {
|
||||
description: "Base64 encode a string with the binhex character set",
|
||||
example: "echo 'username:password' | hash base64 --character_set binhex --encode",
|
||||
example: "echo 'username:password' | hash base64 --character-set binhex --encode",
|
||||
result: Some(Value::string("F@0NEPjJD97kE'&bEhFZEP3", Span::test_data())),
|
||||
},
|
||||
Example {
|
||||
|
Reference in New Issue
Block a user