use nu_protocol::ast::Call; use nu_protocol::engine::{Command, EvaluationContext}; use nu_protocol::{Signature, SyntaxShape, Value}; pub struct Use; impl Command for Use { fn name(&self) -> &str { "use" } fn usage(&self) -> &str { "Use definitions from a module" } fn signature(&self) -> nu_protocol::Signature { Signature::build("use").required("module_name", SyntaxShape::String, "module name") } fn run( &self, _context: &EvaluationContext, call: &Call, _input: Value, ) -> Result { Ok(Value::Nothing { span: call.head }) } }