Skip to content

Commit

Permalink
sim-cli: source simulation file from data directory
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
okjodom committed Oct 6, 2023
1 parent 8714795 commit 56fb052
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 32 deletions.
155 changes: 136 additions & 19 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions sim-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = "2021"
[dependencies]
anyhow = { version = "1.0.69", features = ["backtrace"] }
clap = { version = "4.1.6", features = ["derive", "env", "std", "help", "usage", "error-context", "suggestions"], default-features = false }
dialoguer = "0.11.0"
log = "0.4.20"
serde = "1.0.183"
serde_json = "1.0.104"
Expand Down
Loading

0 comments on commit 56fb052

Please sign in to comment.