Class: Bjt::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/bjt/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/bjt/cli.rb', line 44

def self.exit_on_failure?
  true
end

Instance Method Details

#d(package) ⇒ Object



35
36
37
# File 'lib/bjt/cli.rb', line 35

def d(package)
  Bjt::Jumper.new(:d, package).jump
end

#g(package) ⇒ Object



15
16
17
# File 'lib/bjt/cli.rb', line 15

def g(package)
  Bjt::Jumper.new(:g, package).jump
end

#h(package) ⇒ Object



20
21
22
# File 'lib/bjt/cli.rb', line 20

def h(package)
  Bjt::Jumper.new(:h, package).jump
end

#l(package) ⇒ Object



40
41
42
# File 'lib/bjt/cli.rb', line 40

def l(package)
  Bjt::Jumper.new(:l, package).jump
end

#p(package) ⇒ Object



10
11
12
# File 'lib/bjt/cli.rb', line 10

def p(package)
  Bjt::Jumper.new(:p, package).jump
end

#r(package) ⇒ Object



30
31
32
# File 'lib/bjt/cli.rb', line 30

def r(package)
  Bjt::Jumper.new(:r, package).jump
end

#s(package) ⇒ Object



25
26
27
# File 'lib/bjt/cli.rb', line 25

def s(package)
  Bjt::Jumper.new(:s, package).jump
end