There was an error while loading. Please reload this page.
2 parents 24a056e + 03796b6 commit 0d11caeCopy full SHA for 0d11cae
1 file changed
packages/devkit/src/cli/replay.rs
@@ -1,2 +1,18 @@
1
-/// Replays recorded fee scenarios against the devkit harness.
2
-pub struct Replay;
+use std::path::PathBuf;
+
3
+use clap::Args;
4
5
+/// Arguments for the `replay` subcommand.
6
+#[derive(Args)]
7
+pub struct ReplayArgs {
8
+ /// Path to the SQLite database file containing recorded fee data.
9
+ pub db: PathBuf,
10
+}
11
12
+impl ReplayArgs {
13
+ /// Replays fee records from the database to stdout as a JSON stream.
14
+ pub fn run(&self) {
15
+ eprintln!("Replaying fee records from {}", self.db.display());
16
+ println!("[]");
17
+ }
18
0 commit comments