You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question also remains whether store is needed... One of the original goals of LEWT was to allow for STDIN piping, this is yet to be implemented however if it were storage could be something like this:
lewt -p invoice -o store >> invoice.yml
Defaults could be configured as per regular settings config. This data could be reused by echoing it back into LEWT, then bypassing extract & process and piping this data straight into render like so:
cat invoice.yml | lewt --pipe render -o liquid
jdwije
changed the title
Store sucks. Fix it (or ditch it!)
The Store extensions sucks. Fix it (or ditch it!)
Sep 8, 2014
Store is still an extensions. The piping itself happens at the lewt class level, it's debatable whether this is a good idea - perhaps it can be refactored into stores extract method?
The Lewt Extensions store which is used for persisting data is a bit sucky. The extract method isn't even implemented!
This is a pretty important extension so it will pay to take the time to do things right.
The text was updated successfully, but these errors were encountered: