Sha256: c412a20086b62bdcb1a8c5d4e1f86798ecf4038fb43121de3a0c9fcdc2142038

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 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

2 entries across 2 versions & 1 rubygems

Version Path
Ifd_Mobile-1.4.0 bin/helper.rb
Ifd_Mobile-0.1.9 bin/helper.rb