Sha256: 0da74c6c1593d16171e88749f1ff4c2380f00c3138c2a482a311b6c90551d02c
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
module Spout module Actions def self.help help_message = <<-EOT Usage: spout COMMAND [ARGS] The most common spout commands are: test Running the test file (short-cut alias: "t") new Create a new Spout dictionary. "spout new my_dd" creates a new data dictionary called MyDD in "./my_dd" version Returns the version of Spout EOT puts help_message end def self.interpret(argv) case argv.first when '--version', '-v', 'version' puts "Spout #{Spout::VERSION::STRING}" # exit(0) when 'help', '--help', '-h' help exit(0) else require 'spout/test_helpers' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spout-0.0.1.pre | lib/spout/actions.rb |