Added example for --as-table flag

This commit is contained in:
NotTheDr01ds 2024-06-20 12:16:18 -04:00
parent 3e928490be
commit 5ddaf59355

View File

@ -81,10 +81,16 @@ impl Command for Cal {
result: None, result: None,
}, },
Example { Example {
description: "This month's calendar with the week starting on monday", description: "This month's calendar with the week starting on Monday",
example: "cal --week-start mo", example: "cal --week-start mo",
result: None, result: None,
}, },
Example {
description: "How many Friday the 13ths occurred in 2015",
example: "cal --as-table --full-year 2015 | where {$it.fr == 13} | length",
result: None,
//result: Some(Value::test_int(3)),
},
] ]
} }
} }