chore: Disable unimplemented commands
This commit is contained in:
parent
4a834b1687
commit
87bfcf68cb
4 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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();
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue