forked from extern/nushell
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>;
|
||
|
}
|