Skip to content

Allow several options objects or files on the command line#45

Open
idlewan wants to merge 1 commit into
pugjs:masterfrom
idlewan:#33_allow_several_options_obj
Open

Allow several options objects or files on the command line#45
idlewan wants to merge 1 commit into
pugjs:masterfrom
idlewan:#33_allow_several_options_obj

Conversation

@idlewan

@idlewan idlewan commented Nov 30, 2016

Copy link
Copy Markdown

Allowing several option objects or files as described in issue #33 would be nice.

@codecov-io

codecov-io commented Nov 30, 2016

Copy link
Copy Markdown

Current coverage is 100% (diff: 100%)

Merging #45 into master will not change coverage

@@           master   #45   diff @@
===================================
  Files           1     1          
  Lines         145   156    +11   
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
+ Hits          145   156    +11   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 21bab2e...f84f9a9

@hemanth

hemanth commented Nov 30, 2016

Copy link
Copy Markdown
Member

LGTM

@idlewan

idlewan commented Dec 29, 2016

Copy link
Copy Markdown
Author

Any feedback @TimothyGu ?

@idlewan

idlewan commented Feb 27, 2017

Copy link
Copy Markdown
Author

Ping

@wolfgang42

Copy link
Copy Markdown

+1, this is very useful to have. I use it for example to generate multiple views of a single JSON file, such as to write a list of posts with a certain tag: pug --obj posts.json --obj '{"tag":'$tag'}' < postlist.pug > tagged/$tag.html

When can this be added to the published version of pug-cli?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants