Skip to content

Commit

Permalink
code docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Jan 10, 2025
1 parent 8ccbdd3 commit 0e21f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tool/subcommands/api_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ pub enum ApiCommands {
dump_dir: Option<PathBuf>,
},
GenerateTestSnapshot {
/// Path to test dumps that are generated by `forest-tool api dump-tests` command
#[arg(num_args = 1.., required = true)]
test_dump_files: Vec<PathBuf>,
/// Path to the database folder that powers a Forest node
Expand All @@ -171,6 +172,7 @@ pub enum ApiCommands {
include_ignored: bool,
},
Test {
/// Path to test snapshots that are generated by `forest-tool api generate-test-snapshot` command
#[arg(num_args = 1.., required = true)]
files: Vec<PathBuf>,
},
Expand Down

0 comments on commit 0e21f0f

Please sign in to comment.