Skip to content

Commit

Permalink
kamu-cli, command_needs_transaction(): add the pull command
Browse files Browse the repository at this point in the history
  • Loading branch information
s373r committed Oct 1, 2024
1 parent a1d1ca5 commit 04d8b73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/cli/src/cli_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,10 @@ pub fn command_needs_transaction(args: &cli::Cli) -> bool {
cli::SystemSubCommand::GenerateToken(_) => true,
_ => false,
},
cli::Command::Add(_) | cli::Command::Delete(_) | cli::Command::Rename(_) => true,
cli::Command::Add(_)
| cli::Command::Delete(_)
| cli::Command::Rename(_)
| cli::Command::Pull(_) => true,
_ => false,
}
}
Expand Down

0 comments on commit 04d8b73

Please sign in to comment.