Happy to hear it! > Den 10. apr. 2017 kl. 20.14 skrev Joshua Klina <[email protected]>: > > Thanks for the roadmap! I'll go ahead and see if I can start chipping away at > this! > > Cheers, > Josh > > On Thursday, April 6, 2017 at 6:39:40 PM UTC-6, Joshua Klina wrote: > While Rails has great support for adding Rake tasks there is currently no > information on how to add Thor commands, despite Thor playing an active role > internally. I find Thor commands to be better for handling more sophisticated > interaction from the user and they're great for testing. There already seems > to be solid conventions in place for Rails/Thor commands for either engines > or applications however, this is currently undocumented. > > I just wrote an article describing how an app or engine author can add their > own namespaced Commands here: > http://www.joshklina.com/posts/adding-thor-commands-to-rails > <http://www.joshklina.com/posts/adding-thor-commands-to-rails> > > I'd be happy to create a patch that adds a Command generator and write up > documentation if you folks would be interested. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/rubyonrails-core > <https://groups.google.com/group/rubyonrails-core>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
-- Kasper -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
