Skip to content

[feature request] Make the start and end delimeters of a template token customizeable #29

@con-f-use

Description

@con-f-use

In templates, it seems ashes hardcodes the delimiter to be opening and closing curly brackets. It think it would be a small but useful feature to have any arbitrary string as opening and closing delimiter.

I.e. if I have a template file:

Hello, {[(world)]}

I think it would be useful to do:

ashes --template mytmplt.txt -M '{ "world": "People" }' --opening-delimeter '{[(' --closing-delimiter  ')]}'

And get

Hello, People

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions