Module: CF

Defined in:
lib/cf/cli.rb,
lib/cf/detect.rb,
lib/cf/plugin.rb,
lib/cf/cli/app.rb,
lib/cf/version.rb,
lib/cf/cli/dots.rb,
lib/cf/cli/user.rb,
lib/cf/constants.rb,
lib/cf/cli/command.rb,
lib/cf/cli/service.rb

Defined Under Namespace

Modules: Dots, Interactive, Plugin Classes: App, CLI, Command, Detector, Service, User

Constant Summary collapse

VERSION =
"0.1.4"
OLD_TARGET_FILE =
"~/.vmc_target"
OLD_TOKENS_FILE =
"~/.vmc_token"
CONFIG_DIR =
"~/.cf"
PLUGINS_FILE =
"#{CONFIG_DIR}/plugins.yml"
TARGET_FILE =
"#{CONFIG_DIR}/target"
TOKENS_FILE =
"#{CONFIG_DIR}/tokens.yml"
CRASH_FILE =
"#{CONFIG_DIR}/crash"

Class Method Summary collapse

Class Method Details

.Plugin(target = CLI, &blk) ⇒ Object



36
37
38
39
# File 'lib/cf/plugin.rb', line 36

def self.Plugin(target = CLI, &blk)
  # SUPER FANCY PLUGIN SYSTEM
  target.class_eval &blk
end