forked from extern/nushell
Make the validation especific to str plugin for now.
This commit is contained in:
@ -5,14 +5,6 @@ use std::io;
|
||||
pub trait Plugin {
|
||||
fn config(&mut self) -> Result<CommandConfig, ShellError>;
|
||||
|
||||
#[allow(unused)]
|
||||
fn is_valid(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
fn log_error(&mut self, message: &str) { }
|
||||
|
||||
#[allow(unused)]
|
||||
fn begin_filter(&mut self, call_info: CallInfo) -> Result<Vec<ReturnValue>, ShellError> {
|
||||
Ok(vec![])
|
||||
|
Reference in New Issue
Block a user