Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate from shellfish to rustyline with enhanced CLI features #6830

Merged
merged 21 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
40a1300
removed shellfish in favour of rustyline
JoshuaBatty Jan 8, 2025
91073a2
Update CLI debug interface with rustyline configuration and custom pr…
JoshuaBatty Jan 8, 2025
742704e
Refactor completer in debugger CLI to suggest register names when in …
JoshuaBatty Jan 8, 2025
3f844d9
Add walkdir dependency and implement transaction file completion in d…
JoshuaBatty Jan 8, 2025
0ccf64a
Add command completion and suggestions based on known commands in the…
JoshuaBatty Jan 9, 2025
ac50d40
Refactored CLI commands and extracted them into a separate module in …
JoshuaBatty Jan 13, 2025
29a3c55
clean up hints
JoshuaBatty Jan 13, 2025
c38f56e
rebase
JoshuaBatty Jan 13, 2025
c713a32
format receipts using multiple lines
JoshuaBatty Jan 13, 2025
8e0f14d
debug history is saved and recalled between sessions
JoshuaBatty Jan 13, 2025
c3d4db6
add Cargo.lock
JoshuaBatty Jan 13, 2025
1ee23ad
clippy
JoshuaBatty Jan 15, 2025
30e08fc
Refactored CLI integration test to use colored prompt instead of regex.
JoshuaBatty Jan 15, 2025
1c6832c
Refactored CLI integration test to include more detailed prompts and …
JoshuaBatty Jan 15, 2025
6c26730
fix doc test
JoshuaBatty Jan 15, 2025
a356e73
feedback
JoshuaBatty Jan 15, 2025
46ad16e
Merge branch 'master' into josh/debug_fixtures
JoshuaBatty Jan 15, 2025
9a11fbf
Merge branch 'master' into josh/debug_fixtures
JoshuaBatty Jan 15, 2025
048b7c5
Merge branch 'master' into josh/debug_fixtures
JoshuaBatty Jan 17, 2025
20ad867
feedback
JoshuaBatty Jan 17, 2025
a514c84
impl Drop so we can save terminal history on cntrl c events
JoshuaBatty Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 27 additions & 38 deletions 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
Expand Up @@ -193,6 +193,7 @@ revm = "14.0"
ropey = "1.5"
rpassword = "7.2"
rustc-hash = "1.1"
rustyline = "15.0"
semver = "1.0"
serde = "1.0"
serde_ignored = "0.1"
Expand All @@ -202,7 +203,6 @@ serde_yaml = "0.9"
serial_test = "3.0"
sha2 = "0.10"
sha3 = "0.10"
shellfish = "0.9"
slotmap = "1.0"
smallvec = "1.7"
strsim = "0.11"
Expand Down
5 changes: 4 additions & 1 deletion forc-plugins/forc-debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ repository.workspace = true
anyhow.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
dap.workspace = true
dirs.workspace = true
forc-pkg.workspace = true
forc-test.workspace = true
forc-tracing.workspace = true
fuel-core-client.workspace = true
fuel-types = { workspace = true, features = ["serde"] }
fuel-vm = { workspace = true, features = ["serde"] }
rayon.workspace = true
rustyline.workspace = true
serde.workspace = true
serde_json.workspace = true
shellfish = { workspace = true, features = ["async", "rustyline", "tokio"] }
strsim.workspace = true
sway-core.workspace = true
sway-features.workspace = true
sway-types.workspace = true
Expand All @@ -32,6 +34,7 @@ tokio = { workspace = true, features = [
"net",
"rt-multi-thread",
] }
walkdir.workspace = true

[dev-dependencies]
dap = { version = "0.4.1-alpha1", features = ["client"] }
Expand Down
Loading
Loading