Skip to content

Commit

Permalink
add REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Feb 23, 2024
1 parent dd72afd commit 0bde27c
Show file tree
Hide file tree
Showing 4 changed files with 499 additions and 13 deletions.
135 changes: 122 additions & 13 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ members = [
"dev-tools/omdb",
"dev-tools/omicron-dev",
"dev-tools/oxlog",
"dev-tools/reconfigurator",
"dev-tools/xtask",
"dns-server",
"end-to-end-tests",
Expand Down Expand Up @@ -97,6 +98,7 @@ default-members = [
"dev-tools/omdb",
"dev-tools/omicron-dev",
"dev-tools/oxlog",
"dev-tools/reconfigurator",
# Do not include xtask in the list of default members, because this causes
# hakari to not work as well and build times to be longer.
# See omicron#4392.
Expand Down Expand Up @@ -324,6 +326,7 @@ ratatui = "0.26.1"
rayon = "1.8"
rcgen = "0.12.1"
reedline = "0.29.0"
reedline-repl-rs = "1.0.7"
ref-cast = "1.0"
regex = "1.10.3"
regress = "0.8.0"
Expand Down
29 changes: 29 additions & 0 deletions dev-tools/reconfigurator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[package]
name = "reconfigurator"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"

[dependencies]
anyhow.workspace = true
clap.workspace = true
dropshot.workspace = true
nexus-types.workspace = true
nexus-deployment.workspace = true
omicron-common.workspace = true
serde.workspace = true
serde_json.workspace = true
reedline-repl-rs.workspace = true
slog.workspace = true
slog-error-chain.workspace = true
swrite.workspace = true
tabled.workspace = true
textwrap.workspace = true
uuid.workspace = true
omicron-workspace-hack.workspace = true

# Disable doc builds by default for our binaries to work around issue
# rust-lang/cargo#8373. These docs would not be very useful anyway.
[[bin]]
name = "reconfigurator"
doc = false
Loading

0 comments on commit 0bde27c

Please sign in to comment.