-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for options to CLI and improves usability #586
Conversation
@harttle Any idea when you might get a chance to either merge this one, or let me know if further changes are required? Reason I ask is, we need this functionality, and if it will take several weeks to get it into a release, then I think we may need to think about publishing our own wrapper package for this instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I thought I had submited review but actually not. It won't take weeks, I can follow this PR every day or two.
🎉 This PR is included in version 10.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR adds the following improvements to the CLI experience:
LiquidOptions
properties--template
option (inline or as path)--context
option (inline or as path) or piped throughstdin
--output
option (default is to write tostdout
like before)stdin
to retain compat; should be removed for 11.0--help
argument to print usage informationThe
--template
option is necessary to distinguish legacy mode, but can be removed in favor of a nameless argument for version 11.0, so the syntax would become for example:Fixes #583
Fixes #584
Fixes #585