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