Removed commented code and added feature to Cargo.toml

This commit is contained in:
Jonathan Rothberg 2019-09-27 20:21:30 -07:00
parent 2941740df6
commit 4af0dbe441
3 changed files with 1 additions and 3 deletions

View File

@ -161,6 +161,7 @@ required-features = ["textview"]
[[bin]] [[bin]]
name = "nu_plugin_docker" name = "nu_plugin_docker"
path = "src/plugins/docker.rs" path = "src/plugins/docker.rs"
required-features = ["docker"]
[[bin]] [[bin]]
name = "nu" name = "nu"

View File

@ -248,7 +248,6 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
whole_stream_command(Next), whole_stream_command(Next),
whole_stream_command(Previous), whole_stream_command(Previous),
whole_stream_command(Debug), whole_stream_command(Debug),
// whole_stream_command(Docker),
whole_stream_command(Lines), whole_stream_command(Lines),
whole_stream_command(Shells), whole_stream_command(Shells),
whole_stream_command(SplitColumn), whole_stream_command(SplitColumn),

View File

@ -11,7 +11,6 @@ pub(crate) mod config;
pub(crate) mod cp; pub(crate) mod cp;
pub(crate) mod date; pub(crate) mod date;
pub(crate) mod debug; pub(crate) mod debug;
// pub(crate) mod docker;
pub(crate) mod echo; pub(crate) mod echo;
pub(crate) mod enter; pub(crate) mod enter;
pub(crate) mod env; pub(crate) mod env;
@ -80,7 +79,6 @@ pub(crate) use config::Config;
pub(crate) use cp::Cpy; pub(crate) use cp::Cpy;
pub(crate) use date::Date; pub(crate) use date::Date;
pub(crate) use debug::Debug; pub(crate) use debug::Debug;
// pub(crate) use docker::Docker;
pub(crate) use echo::Echo; pub(crate) use echo::Echo;
pub(crate) use enter::Enter; pub(crate) use enter::Enter;
pub(crate) use env::Env; pub(crate) use env::Env;