nu_plugin_polars 0.112.0

Nushell dataframe plugin commands based on polars.
mod selector_all;
mod selector_by_dtype;
mod selector_by_name;
mod selector_ends_with;
mod selector_first;
mod selector_float;
mod selector_integer;
mod selector_last;
mod selector_matches;
mod selector_not;
mod selector_numeric;
mod selector_signed_integer;
mod selector_starts_with;
mod selector_stub;
mod selector_unsigned_integer;

use nu_plugin::PluginCommand;

use crate::PolarsPlugin;

pub(crate) fn selector_commands() -> Vec<Box<dyn PluginCommand<Plugin = PolarsPlugin>>> {
    vec![
        Box::new(selector_stub::SelectorCmd),
        Box::new(selector_all::SelectorAll),
        Box::new(selector_by_dtype::SelectorByDtype),
        Box::new(selector_by_name::SelectorByName),
        Box::new(selector_first::SelectorFirst),
        Box::new(selector_float::SelectorFloat),
        Box::new(selector_integer::SelectorInteger),
        Box::new(selector_last::SelectorLast),
        Box::new(selector_matches::SelectorMatches),
        Box::new(selector_numeric::SelectorNumeric),
        Box::new(selector_not::SelectorNot),
        Box::new(selector_signed_integer::SelectorSignedInteger),
        Box::new(selector_starts_with::SelectorStartsWith),
        Box::new(selector_ends_with::SelectorEndsWith),
        Box::new(selector_unsigned_integer::SelectorUnsignedInteger),
    ]
}