Skip to content

--update would be nice to have for rewrite #520

@yegor256

Description

@yegor256

In Unix, the cp command has --update option, which means: "don't copy if the target file is newer than the source file. Would be nice to have a similar option for the rewite command in phino. If the target file is specified and it's newer than the source, let's skip the rewriting and simply exit with zero code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions