Module: Alf::Shell

Defined in:
lib/alf/shell.rb,
lib/alf/shell/alfrc.rb,
lib/alf/shell/support.rb,
lib/alf/shell/version.rb,
lib/alf/shell/command/help.rb,
lib/alf/shell/command/main.rb,
lib/alf/shell/command/repl.rb,
lib/alf/shell/command/show.rb,
lib/alf/shell/command/explain.rb,
lib/alf/shell/command/metadata.rb

Defined Under Namespace

Modules: Support, Version Classes: Alfrc, Explain, Help, Main, Metadata, Repl, Show

Constant Summary collapse

DEFAULT_CONFIG =

This is the default configuration to be forked from

Alfrc.new
VERSION =
Version.to_s

Class Method Summary collapse

Class Method Details

.Command(*args) ⇒ Object

Command factory



11
12
13
14
15
16
17
# File 'lib/alf/shell.rb', line 11

def self.Command(*args)
  Quickl::Command(*args){|builder|
    builder.command_parent = Alf::Shell::Main
    builder.instance_module Shell::Support
    yield(builder) if block_given?
  }
end