ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.67k stars 387 forks source link

Add main field specifier on CLI #325

Closed junnotantra closed 4 years ago

junnotantra commented 4 years ago

changes:

olliephillips commented 4 years ago

Hey @junnotantra I'll have chance to look at this towards the end of this week.

nilslice commented 4 years ago

Thanks @olliephillips - I will take a look through this one before it goes to master. I don't like the use of * as a possible risk of expansion when the shell interprets is (though we just take this as a string in Go), I'm just not sure about the behavior.

Maybe another character would be acceptable.. I'll do some testing

olliephillips commented 4 years ago

@nilslice no problem, that's why we have this workflow I guess :)

Keep me in the loop - I can test further if needs be, as I have the ponzu built on this feature at the moment.