Sha256: a633ef10c86cfbcb9815a1509ea4c22266f0f6d314a3d01af0541ffe883f189c

Contents?: true

Size: 1.3 KB

Versions: 8

Compression:

Stored size: 1.3 KB

Contents

require 'sprout/executable/param'
require 'sprout/executable/collection_param'
require 'sprout/executable/boolean'
require 'sprout/executable/number'
require 'sprout/executable/string_param'
require 'sprout/executable/strings'
require 'sprout/executable/file_param'
require 'sprout/executable/files'
require 'sprout/executable/path'
require 'sprout/executable/paths'
require 'sprout/executable/url'
require 'sprout/executable/urls'
require 'sprout/executable/parameter_factory'
require 'rake/clean'
require 'sprout/executable/base'
require 'sprout/executable/session'

module Sprout

  ##
  # The Sprout::Executable module exposes a Domain Specific Language
  # for describing Command Line Interface (CLI) applications.
  #
  # This module can be included by any class, and depending on how that class
  # is used, one can either parse command line arguments into meaningful, 
  # structured data, or delegate ruby code and configuration to an existing,
  # external command line process.
  #
  # Following is an example of how one could define an executable Ruby
  # application using this module:
  #
  # :include: ../../test/fixtures/examples/echo_inputs.rb
  #
  module Executable
    include RubyFeature

    DEFAULT_FILE_EXPRESSION = '/**/**/*'
    DEFAULT_PREFIX          = '--'
    DEFAULT_SHORT_PREFIX    = '-'

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sprout-1.1.18.pre lib/sprout/executable.rb
sprout-1.1.17.pre lib/sprout/executable.rb
sprout-1.1.16.pre lib/sprout/executable.rb
sprout-1.1.15.pre lib/sprout/executable.rb
sprout-1.1.14.pre lib/sprout/executable.rb
sprout-1.1.13.pre lib/sprout/executable.rb
sprout-1.1.11.pre lib/sprout/executable.rb
sprout-1.1.10.pre lib/sprout/executable.rb