# Description As suggested by @WindSoilder, since plugins can now contain both simple commands that produce `Value` and commands that produce `PipelineData` without having to choose one or the other for the whole plugin, this change merges `stream_example` into `example`. # User-Facing Changes All of the example plugins are renamed. # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting - [ ] Check nushell/nushell.github.io for any docs that match the command names changed
36 lines
545 B
Rust
36 lines
545 B
Rust
// `example` command - just suggests to call --help
|
|
mod main;
|
|
|
|
pub use main::Main;
|
|
|
|
// Basic demos
|
|
mod one;
|
|
mod three;
|
|
mod two;
|
|
|
|
pub use one::One;
|
|
pub use three::Three;
|
|
pub use two::Two;
|
|
|
|
// Engine interface demos
|
|
mod config;
|
|
mod disable_gc;
|
|
mod env;
|
|
|
|
pub use config::Config;
|
|
pub use disable_gc::DisableGc;
|
|
pub use env::Env;
|
|
|
|
// Stream demos
|
|
mod collect_external;
|
|
mod for_each;
|
|
mod generate;
|
|
mod seq;
|
|
mod sum;
|
|
|
|
pub use collect_external::CollectExternal;
|
|
pub use for_each::ForEach;
|
|
pub use generate::Generate;
|
|
pub use seq::Seq;
|
|
pub use sum::Sum;
|