Module: Exctl

Defined in:
lib/exctl.rb,
lib/exctl/cli.rb,
lib/exctl/commands.rb,
lib/exctl/dispatch.rb

Defined Under Namespace

Classes: CLI, Cmd, Commands, Dispatch

Constant Summary collapse

LIB_DIR =
Path[File.dirname(__FILE__)]
TEMPLATE_DIR =
(LIB_DIR ** '..') ** 'templates'
VFILE =
(LIB_DIR ** '..') ** 'VERSION'
VERSION =
VFILE.exists? ? VFILE.read : ''

Class Method Summary collapse

Class Method Details

.cli(argv) ⇒ Object



11
12
13
14
# File 'lib/exctl.rb', line 11

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

.versionObject



9
# File 'lib/exctl.rb', line 9

def self.version() Exctl::VERSION end