Skip to content

Releases: raikoug/batteries

0.2.0

08 Dec 14:10
Compare
Choose a tag to compare

v0.2.0 - 2023-10-05

Added

  • New Command-Line Option: --info
  • Added a new command-line option --info (short -i) to print extended filtered information about each device.
  • This option provides detailed information about each device, similar to the --list option, but with filtering applied.
  • The --info option conflicts with the --list option, meaning they cannot be used together. The clap crate handles this conflict automatically.

Changed

  • Command-Line Argument Handling
  • Updated the command-line argument handling to use the conflicts_with method from the clap crate to ensure that --info and --list options are mutually exclusive.
  • Improved the robustness of the configuration file handling. The program now attempts to create the configuration file if it does not exist and handles permission errors gracefully by ignoring the configuration if it cannot be loaded or created.
  • Fixed

Configuration File Handling

  • Fixed an issue where the program would fail if the configuration file did not exist or could not be created due to permission issues. The program now continues to run even if the configuration file cannot be loaded or created.
  • Notes
  • This release improves the flexibility and usability of the tool by adding a new command-line option and enhancing the handling of configuration files.

0.1.0

04 Dec 22:10
Compare
Choose a tag to compare