{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/blackberry/Ripple-UI/pull/246.diff","html_url":"https://github.com/blackberry/Ripple-UI/pull/246","patch_url":"https://github.com/blackberry/Ripple-UI/pull/246.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/488d67517781a9cb5becb4d009f06787?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"488d67517781a9cb5becb4d009f06787","url":"https://api.github.com/users/brentlintner","login":"brentlintner","id":93340},"assignee":null,"updated_at":"2011-11-15T16:39:22Z","labels":[],"comments":2,"closed_at":null,"url":"https://api.github.com/repos/blackberry/Ripple-UI/issues/246","body":"* The CLI executable is in bin/cli\r\n* lib/cli and lib/server are new modules (and not part of lib/ripple)\r\n* Unit tests for the CLI\r\n* updated/tweaked README appropriately\r\n\r\n..open to any thoughts, nitpicks etc. :-)","html_url":"https://github.com/blackberry/Ripple-UI/issues/246","title":"Implemented a CLI for Ripple-UI (& made it installable via NPM)","number":246,"id":2234726,"created_at":"2011-11-14T19:17:15Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/488d67517781a9cb5becb4d009f06787?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"488d67517781a9cb5becb4d009f06787","url":"https://api.github.com/users/brentlintner","login":"brentlintner","id":93340},"updated_at":"2011-11-15T16:39:22Z","url":"https://api.github.com/repos/blackberry/Ripple-UI/issues/comments/2747281","body":"I like the idea to host apps separately; I was hoping such things would come up in this review! However, I wonder if a separate flag is more appropriate for that. Granted, I defaulted to logging the HELP when you first type in `ripple`. IMO I think doing that is the the most succinct since I might _not_ want the current working directory to be served up for every time I use it, but I'm not set on that, and showing HELP made the most sense at the time.\r\n\r\nHowever, I was thinking; Currently there is the `--server` flag, so perhaps something like this might be ideal:\r\n\r\n    ripple # - boots ripple (?)\r\n    ripple --server # - does the same as above (sort of like `jake` and `jake build`..) (?)\r\n    ripple --server --apps app1 app2 app3 ... # - boots static server(s), randomly picked the flag name\r\n\r\nThoughts? :-)\r\n\r\n_Note_: I picked `--` based flags for now, `-` style flags can be added later I figure when the flags solidify","id":2747281,"created_at":"2011-11-15T16:39:22Z"}}