thor_slides



thor_slides

0 0


thor_slides

Slides for thor lightning talk

On Github hackergil / thor_slides

Command line tools with

About me

Gilberto Alvarado

Software Engineer at Tacit Knowledge

  • Programmer (sometimes)
  • DevOps guy (sometimes)
  • I like Ruby (a lot)
  • @hackergil
  • hackergil.com

Why?

  • I needed a code generator
  • I needed to stop writing shell scripts (annoying)
  • Yehuda Katz (much appreciated)!

What's it for?

  • Command line tools
  • Code generation
  • Replace rake
  • Replace or emulate bash
  • And more

Who uses it?

  • Rails!
  • Bundler Vagrant
  • Spree
  • And several other hundreds of gems

Features

  • Pure Ruby!
  • One task at a time or many tasks (groups)
  • Optional and named options
  • Common actions
  • Erb templates
  • Use it as thor tasks, as an executable or as a gem

Demo!

Thank you

And keep up the ruby GDL community!