Sha256: c5fae8430f0fd9b48b1a2d12e3679db49da7066742e0ba310484b80c80ca50a0

Contents?: true

Size: 1.05 KB

Versions: 14

Compression:

Stored size: 1.05 KB

Contents

require 'tempfile'
require 'json'
require "rubygems"

def msg(title, &block)
  puts "\n" + "-"*10 + title + "-"*10
  block.call
  puts "-"*10 + "-------" + "-"*10 + "\n"
end

def print_usage
  puts <<EOF
  
  Usage: Ifd_Mobile <command-name> [parameters] [options]
  
  <command-name> can be one of
    help
      prints more detailed help information.
    gen
      generate a features folder structure.
    version
      prints the gem version

  <options> can be 
     -v, --verbose   Turns on verbose logging
EOF
end

def print_help
  puts <<EOF
  
  Usage: Ifd_Mobile <command-name> [parameters] [options]
  
  <command-name> can be one of
    help
    gen
    version

    Commands:
      help : prints more detailed help information.

      gen  : creates a features dir. This is usually used once when
             setting up ifd-mobile to ensure that the features folder contains
             the right step definitions and environment to run with cucumber.

      version : prints the gem version

  <Options>
      -v, --verbose  Turns on verbose logging
EOF
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
Ifd_Mobile-1.5.0 bin/helper.rb
Ifd_Mobile-1.3.0 bin/helper.rb
Ifd_Mobile-1.2.0 bin/helper.rb
Ifd_Mobile-1.1.0 bin/helper.rb
Ifd_Mobile-1.0.0 bin/helper.rb
Ifd_Mobile-0.1.8 bin/helper.rb
Ifd_Mobile-0.1.7 bin/helper.rb
Ifd_Mobile-0.1.6 bin/helper.rb
Ifd_Mobile-0.1.5 bin/helper.rb
Ifd_Mobile-0.1.4 bin/helper.rb
Ifd_Mobile-0.1.3 bin/helper.rb
Ifd_Mobile-0.1.2 bin/helper.rb
Ifd_Mobile-0.1.1 bin/helper.rb
Ifd_Mobile-0.1.0 bin/helper.rb