style-guide icon indicating copy to clipboard operation
style-guide copied to clipboard

Template CLI Tool

Open Fishrock123 opened this issue 11 years ago • 7 comments

I think I should make this module also contain a CLI tool installable from npm to generate from the template. Thoughts?

Fishrock123 avatar Oct 13 '14 17:10 Fishrock123

I think @jonathanong has something like this already, so he can chime in :)

dougwilson avatar Oct 13 '14 17:10 dougwilson

Dunno what I'd call it but it would be like

$ jshttp user/repo <optional name>
$ jshttp
What is the repo for this module?
> user/repo

something maybe

Fishrock123 avatar Oct 13 '14 17:10 Fishrock123

http://github.com/jonathanong/rpit

jonathanong avatar Oct 13 '14 22:10 jonathanong

You know code is serious when the last commit you see is "argh"

Related: https://cloud.githubusercontent.com/assets/1093990/4621543/d197dd26-532c-11e4-96f0-061a69067374.jpg

Ok, I'm thinking something a little more custom. It would automatically pull this repo's latest template down from github etc.

Fishrock123 avatar Oct 13 '14 23:10 Fishrock123

If you want something custom, I'm sure @jonathanong 's repo is probably a good starting point :)

dougwilson avatar Oct 13 '14 23:10 dougwilson

Should we make this an org labels thing or like a $ {jshttp} thing?

We could also write a tool that we can invoke via $ {jshttp} that will call that tool with jshttp parameters.

Fishrock123 avatar Oct 13 '14 23:10 Fishrock123

Should this be $ jshttp <etc..> or $ tool jshttp/style-guide <etc..> ?

Fishrock123 avatar Nov 15 '14 00:11 Fishrock123