Sha256: 15df6fc79d31a319b0431432e510882bc133b5b9460dc7ca95f8935f37713a69

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

module Exctl
  require 'shorthand'

  LIB_DIR      = Path[File.dirname(__FILE__)]
  TEMPLATE_DIR = (LIB_DIR ** '..') ** 'templates'

  VFILE        = (LIB_DIR ** '..') ** 'VERSION'
  VERSION      = VFILE.exists? ? VFILE.read : ''
  def self.version() Exctl::VERSION end

  def self.cli(argv)
    require 'exctl/cli'
    Exctl::CLI.new(argv).run!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exctl-0.0.4 lib/exctl.rb
exctl-0.0.3 lib/exctl.rb