Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Command-Line Applications in Ruby

markdr
April 07, 2012
330

Command-Line Applications in Ruby

A quick overview of writing command-line applications in Ruby.

markdr

April 07, 2012
Tweet

Transcript

  1. I

  2. WHY

  3. WHY

  4. OK

  5. gem list | cut -d" " -f1 | xargs sudo

    gem uninstall -aIx Friday, April 6, 12
  6. gem list | cut -d" " -f1 | xargs sudo

    gem uninstall -aIx Get
  7. ARUBA Scenario: Backing up test.conf Given an empty file named

    "test.conf" When I run `mv test.conf test.conf.bak` Then the exit status should be 0 And the following files should exist: | test.conf.bak | And the following files should not exist: | test.conf | http://hectcastro.me/2011/10/25/testing-command-line-applications-with-aruba.html http://rubygems.org/gems/aruba Friday, April 6, 12