diff --git a/crates/dtmt/src/cmd/build.rs b/crates/dtmt/src/cmd/build.rs index eb4cad1..b9adc22 100644 --- a/crates/dtmt/src/cmd/build.rs +++ b/crates/dtmt/src/cmd/build.rs @@ -5,7 +5,7 @@ use clap::{value_parser, Arg, ArgMatches, Command}; use color_eyre::eyre::Result; use tokio::sync::RwLock; -pub(crate) fn command_definition() -> Command { +pub(crate) fn _command_definition() -> Command { Command::new("build").about("Build a project").arg( Arg::new("directory") .required(false) diff --git a/crates/dtmt/src/cmd/new.rs b/crates/dtmt/src/cmd/new.rs index 2c3755a..0c8c673 100644 --- a/crates/dtmt/src/cmd/new.rs +++ b/crates/dtmt/src/cmd/new.rs @@ -4,7 +4,7 @@ use clap::{Arg, ArgMatches, Command}; use color_eyre::eyre::Result; use tokio::sync::RwLock; -pub(crate) fn command_definition() -> Command { +pub(crate) fn _command_definition() -> Command { Command::new("new") .about("Create a new project") .arg(Arg::new("name").help( diff --git a/crates/dtmt/src/cmd/watch.rs b/crates/dtmt/src/cmd/watch.rs index 4a481d0..0a1c77b 100644 --- a/crates/dtmt/src/cmd/watch.rs +++ b/crates/dtmt/src/cmd/watch.rs @@ -5,7 +5,7 @@ use clap::{value_parser, Arg, ArgMatches, Command}; use color_eyre::eyre::Result; use tokio::sync::RwLock; -pub(crate) fn command_definition() -> Command { +pub(crate) fn _command_definition() -> Command { Command::new("watch") .about("Re-build the given directory on file changes.") .arg( diff --git a/crates/dtmt/src/main.rs b/crates/dtmt/src/main.rs index c000f57..0272d09 100644 --- a/crates/dtmt/src/main.rs +++ b/crates/dtmt/src/main.rs @@ -43,12 +43,12 @@ async fn main() -> Result<()> { .global(true) .value_parser(value_parser!(PathBuf)), ) - .subcommand(cmd::build::command_definition()) + // .subcommand(cmd::build::command_definition()) .subcommand(cmd::bundle::command_definition()) .subcommand(cmd::dictionary::command_definition()) .subcommand(cmd::murmur::command_definition()) - .subcommand(cmd::new::command_definition()) - .subcommand(cmd::watch::command_definition()) + // .subcommand(cmd::new::command_definition()) + // .subcommand(cmd::watch::command_definition()) .get_matches(); {