Compare commits
3 Commits
00667fef7c
...
37e5cabc3f
Author | SHA1 | Date | |
---|---|---|---|
|
37e5cabc3f | ||
c0bd8c0d36
|
|||
dadec333d4 |
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.0.6] - 2025-07-26
|
||||
|
||||
### Added
|
||||
- add help text for preview
|
||||
|
||||
## [0.0.5] - 2025-07-26
|
||||
|
||||
### Added
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -389,7 +389,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "noil"
|
||||
version = "0.0.3"
|
||||
version = "0.0.4"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"anyhow",
|
||||
|
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
|
||||
[workspace.dependencies]
|
||||
noil = { path = "crates/noil" }
|
||||
|
@@ -22,11 +22,15 @@ impl ApplyCommand {
|
||||
|
||||
if !self.commit {
|
||||
let action = print_changes(&input, !self.commit).await?;
|
||||
match action {
|
||||
let res = match action {
|
||||
Action::Quit => Ok(()),
|
||||
Action::Apply { original } => apply(&original).await,
|
||||
Action::Edit => todo!(),
|
||||
}
|
||||
};
|
||||
|
||||
eprintln!("\nin preview mode: add (--commit) to perform actions");
|
||||
|
||||
res
|
||||
} else {
|
||||
apply(&input).await
|
||||
}
|
||||
|
Reference in New Issue
Block a user