3 Commits

Author SHA1 Message Date
cuddle-please
d38a086be6 chore(release): 0.0.6
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-07-26 20:17:53 +00:00
a71672823c feat: update demo
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-26 22:16:34 +02:00
c0bd8c0d36 feat: add help text for preview
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-26 22:05:46 +02:00
5 changed files with 14 additions and 4 deletions

View File

@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.0.6] - 2025-07-26
### Added
- update demo
- add help text for preview
## [0.0.5] - 2025-07-26
### Added

2
Cargo.lock generated
View File

@@ -389,7 +389,7 @@ dependencies = [
[[package]]
name = "noil"
version = "0.0.3"
version = "0.0.5"
dependencies = [
"ansi_term",
"anyhow",

View File

@@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.0.5"
version = "0.0.6"
[workspace.dependencies]
noil = { path = "crates/noil" }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@@ -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
}