nushell/crates/nu-protocol/src/example.rs
JT 8ee619954d
Start support for commandline args to nu itself (#851)
* cmdline args wip

* WIP

* redirect working

* Add help and examples

* Only show flags in signature of more than help
2022-01-27 01:42:39 +11:00

9 lines
156 B
Rust

use crate::Value;
#[derive(Debug)]
pub struct Example {
pub example: &'static str,
pub description: &'static str,
pub result: Option<Value>,
}