Skip to content

Commit

Permalink
chore: drop compose command (tailcallhq#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop authored Mar 10, 2024
1 parent 7dce0ac commit 5220692
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions src/cli/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@ pub enum Command {
format: Option<Source>,
},

/// Merge multiple configuration file into one
Compose {
/// Path for the configuration files separated by spaces if more than
/// one
#[arg(required = true)]
file_paths: Vec<String>,

/// Format of the result. Accepted values: JSON|YML|GQL.
#[clap(short, long, default_value = "gql")]
format: Source,
},

/// Initialize a new project
Init {
// default is current directory
Expand Down
5 changes: 0 additions & 5 deletions src/cli/tc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ pub async fn run() -> Result<()> {
}
}
Command::Init { folder_path } => init(&folder_path).await,
Command::Compose { file_paths, format } => {
let config = (config_reader.read_all(&file_paths).await)?;
Fmt::display(format.encode(&config)?);
Ok(())
}
}
}

Expand Down

0 comments on commit 5220692

Please sign in to comment.