Skip to content

--in-place to edit the file "in place" #228

@yegor256

Description

@yegor256

Similar to the --in-place option of sed, let's introduce one for the rewrite command.

If it's specified, we edit the file:

phino rewrite --rule a.yml --in-place foo.phi

This will change the foo.phi file, instead of printing modified expression to the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions