[LRUG] Gems that do command line tools like they're Rack apps
gareth rushgrove
gareth.rushgrove at gmail.com
Mon Oct 31 15:21:13 PDT 2011
On 31 October 2011 22:14, Adam Carlile <adam at benchmedia.co.uk> wrote:
> Mailcatcher might be worth looking at,
>
> It fires up a daemonized SMTP and HTTP server through a CLI
>
> https://github.com/sj26/mailcatcher
>
Cheers.
https://github.com/sj26/mailcatcher/blob/master/bin/catchmail
A couple of nice bits to the above config, mainly in syntax shortening
tricks. But it doesn't combine command line flags (which I think most
Ruby apps do OK with) and reading from a configuration file (which I
see too little). I'm a fan of being able to configure things by
dumping files in /etc/ as well. And it's the "as well" part that I'm
particularly interested in finding a nice pattern for.
G
> It's also great for testing email heavy web apps!
>
> Cheers
> Adam
>
>
> Bench Media
> -
> Adam Carlile
> Web Professional
> www.benchmedia.co.uk
>
> Twitter @frozenproduce
>
>
>
>
>
> On 31/10/2011 22:09, "gareth rushgrove" <gareth.rushgrove at gmail.com> wrote:
>
>>I'm on the lookout for gems which provide command line tools which
>>start a daemonized Rack application.
>>
>>I have a few gems in the works that operate like that and I'm sure
>>their are better patterns for lots of the command line options and
>>config file parsing malarkey I'm doing at present.
>>
>>Any pointers much appreciated.
>>
>>G
>>
>>--
>>Gareth Rushgrove
>>Web Geek
>>
>>morethanseven.net
>>garethrushgrove.com
>>_______________________________________________
>>Chat mailing list
>>Chat at lists.lrug.org
>>http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
--
Gareth Rushgrove
Web Geek
morethanseven.net
garethrushgrove.com
More information about the Chat
mailing list