Skip to content

Commit

Permalink
release(alpha): non destructive, test output which will later be run
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed May 9, 2023
1 parent 4ac9ef6 commit 0e5fdfe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tfam"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
Expand Down
13 changes: 5 additions & 8 deletions src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ fn exec(args: Vec<String>, varfile: String, workspaceformat: String) {
args.join(" "),
varfile
);
// let status = Command::new("terraform")
// .args(args.clone())
// .arg("-var-file")
// .arg(element)
// .status();
}

fn single_threaded_exec(args: Vec<String>, cmd: Commands) {
Expand All @@ -42,11 +47,3 @@ fn multi_threads_exec(args: Vec<String>, cmd: Commands) {
t.join().unwrap();
}
}
// for element in ans.unwrap() {
// println!("terraform {:?} -var-file {}", args.clone(), element);
// let status = Command::new("terraform")
// .args(args.clone())
// .arg("-var-file")
// .arg(element)
// .status();
// }

0 comments on commit 0e5fdfe

Please sign in to comment.