linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 80 forks source link

Plugin API should be expanded to define & override CLI actions #208

Closed searls closed 9 years ago

searls commented 10 years ago

Right now the lineman CLI is basically all governed by a single file with no real clear rhyme or reason. We should factor it out into part of the plugin discovery system and allow third-party plugins to define (and extend) existing lineman CLI actions.

Would require some internal design gymnastics, because it'd require us to separate plugin discovery from the current configuration-munging (not a bad idea anyway), but would be great for plugins who need to add new behavior (like lineman deploy or lineman runTestsInABrowser)

davemo commented 9 years ago

Thoughts on if this is still relevant @searls?

searls commented 9 years ago

Eh, I think this is really just sugar 99% of the time for what would as well be lineman grunt new-thing. I don't think it's that necessary