Skip to content

Make mrml-cli be drop-in replacement for mjml cli #593

@thomaschaaf

Description

@thomaschaaf

Currently the mrml-cli can not simply be used as a drop-in replacement for mjmls cli tool.

It would be great if all that needs to be done is change the binary path.

Example from https://github.com/notFloran/mjml-bundle/blob/main/src/Renderer/BinaryRenderer.php:

cat notification.mjml | app/node_modules/.bin/mjml -i -s -l -m
<html>...
cat notification.mjml | app/node_modules/.bin/| bin/mrml -i -s -l -m
error: unexpected argument '-i' found

  tip: to pass '-i' as a value, use '-- -i'

Usage: mrml [OPTIONS] [INPUT] <COMMAND>

For more information, try '--help'.

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