Skip to content

Support outfile as a function #553

Open
@silvenon

Description

@silvenon

In my case I would like to write multiple entry points as revisioned paths with rev-path, but my understanding is that this currently isn't possible. My proposition is that the outfile can also be a function, which would then work for multiple entry points (where a string outfile only works for one). That function would receive file name and contents so I can output a revisioned file name based on its contents.

The only alternative I can see is renaming the path after already writing the file, but I'd like to do it all in one go if possible. 🤞

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions