Skip to content

Commit 56fb052

Browse files
committed
sim-cli: source simulation file from data directory
sim-cli expects SIMLN_DATA_DIR/sims to contain simulation files in json format, and it can: - prompt a user to select a file from this directory - find a pre-selected file when --sim-file option is provided
1 parent 8714795 commit 56fb052

File tree

3 files changed

+226
-32
lines changed

3 files changed

+226
-32
lines changed

Cargo.lock

+136-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sim-cli/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ edition = "2021"
88
[dependencies]
99
anyhow = { version = "1.0.69", features = ["backtrace"] }
1010
clap = { version = "4.1.6", features = ["derive", "env", "std", "help", "usage", "error-context", "suggestions"], default-features = false }
11+
dialoguer = "0.11.0"
1112
log = "0.4.20"
1213
serde = "1.0.183"
1314
serde_json = "1.0.104"

0 commit comments

Comments
 (0)