Skip to content

Piranha Arguments

Ameya Ketkar edited this page Jan 4, 2023 · 1 revision

The purpose of Piranha Arguments is determining the behavior of Piranha.

  • language : The programming language used by the source code
  • substitutions : Seed substitutions for the rules (if any). In case of stale feature flag cleanup, we pass the stale feature flag name and whether it is treated or not.
  • delete_file_if_empty : enables delete file if it consequently becomes empty
  • delete_consecutive_new_lines : enables deleting consecutive empty new line
  • cleanup_comments : enables cleaning up the comments associated to the deleted code elements like fields, methods or classes
  • cleanup_comments_buffer : determines how many lines above to look up for a comment.

In Progress ...

Clone this wiki locally