-
Notifications
You must be signed in to change notification settings - Fork 201
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.
- Home
- API
- Stale feature flag related cleanup
- Piranha in-depth
- Piranha's Core Framework
- Piranha Rules
- Rule Graph
- Piranha Arguments
- [Advanced] Other use-cases
- Custom Refactoring
- Code Search
- Onboarding a new language