mirror of
https://github.com/nushell/nushell.git
synced 2025-05-23 16:11:18 +00:00
11 lines
217 B
Rust
11 lines
217 B
Rust
use crate::errors::ShellError;
|
|
use crate::object::Value;
|
|
|
|
pub trait Command {
|
|
fn run(
|
|
&mut self,
|
|
host: &dyn crate::Host,
|
|
env: &mut crate::Environment,
|
|
) -> Result<Value, ShellError>;
|
|
}
|