Refactorings for an external `find` command
EmilyGraceSeville7cf opened this issue · comments
Maisa Unbelievable commented
What is the problem this feature will solve?
Allow users to fix find
command invocations or optimize them.
What is the feature you are proposing to solve the problem?
Add the following refactorings available for this command:
- Label: replace with POSIX option.
Available when: not POSIX complaint option is used.
Note: this refactoring can be wide spread for several commands. - Label: replace with
-and
.
Available when:-or
is used. - Label: replace with
-or
.
Available when:-and
is used. - Label: replace with
-a
.
Available when:-o
is used. - Label: replace with
-a
.
Available when:-o
is used. - Label: invert condition.
Available when: always - Label: check name too
Available when: no-name
,-iname
is used
Note: check is added at the end of condition and available when all braces are terminated. - Label: check type too
Available when: no-type
is used
Note: check is added at the end of condition and available when all braces are terminated.
What alternatives have you considered?
No response