Closed FMotalleb closed 6 months ago
This update introduces improvements to the plugin structure and error handling for an image conversion tool in Rust. It includes upgrading dependency versions and restructuring command implementations for clearer and more efficient processing of image conversions between ANSI and PNG formats.
File Path | Change Summary |
---|---|
Cargo.toml |
Updated dependencies to 0.92.2 and nu_plugin_image to 0.4.2 . |
README.md |
Simplified QR code command syntax in the terminal. |
nupm.nuon |
Updated plugin metadata version to "0.4.2". |
src/ansi_to_image/nu_plugin.rs |
Reordered imports, refined error handling, and modified flag handling. |
src/image_to_ansi/nu_plugin.rs |
Reordered imports, improved error handling, and updated error messages. |
src/main.rs |
Refactored plugin structure to ImageConversionPlugin and revamped command implementations. |
πβ¨ In the realm of code, changes abound, Upgrades and tweaks, in files they're found. From ANSI to PNG, the images dance, With cleaner code, we enhance the prance. Hop, hop, hooray, for version point-two, A rabbitβs cheer, from me to you! ππ πβ¨
README.md (5)
Near line 3: Possible spelling mistake found. Context: # nu_plugin_image A [nushell](https://www.nushell.sh/) plugin to cre... --- Near line 17: Possible spelling mistake found. Context: ...idth 150 | to png output.png ``` from: to: ## Installing * using [nupm](https://github.com/nushell/nupm) ... --- Near line 22: Possible spelling mistake found. Context: ... width="200"/> ## Installing * using [nupm](https://github.com/nushell/nupm) ```b...
README.md (2)
`8-8`: Ensure the new command syntax is functional and correctly documented. --- `14-14`: Verify the functionality of the example command and ensure that the linked images are accessible.
Hotfix to work with Nu 0.92.2
Summary by CodeRabbit
nu-plugin
,nu-protocol
, andnu_plugin_image
to newer versions for improved stability and features.