OSOceanAcoustics / echodataflow

Orchestrated sonar data processing workflow
https://echodataflow.readthedocs.io/en/latest/
MIT License
4 stars 1 forks source link

Fix New Line Issue in `echoflow rules --add` Command #81

Closed Sohambutala closed 5 months ago

Sohambutala commented 5 months ago

This PR addresses the issue reported in #66 where the echoflow rules --add command incorrectly appended new rules without inserting new lines, leading to parsing and application errors.

What's New?

  1. New line while adding a rule using --add flag
  2. Clean flag: echodataflow rules --clean will now clean and validate the rules.
  3. Validation for multiple rules defined on a single line

Closes #66

valentina-s commented 5 months ago

The correct command is echodataflow rule*s* --clean.

Works well!