Class: Muxilla::Muxinate

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/muxilla/muxinate.rb

Instance Method Summary collapse

Instance Method Details

#bug(nickname) ⇒ Object



32
33
34
35
36
37
# File 'lib/muxilla/muxinate.rb', line 32

def bug nickname
  if !check_config
    return
  end
  muxinator_it :bug, nickname, options
end

#chore(nickname) ⇒ Object



43
44
45
46
47
48
# File 'lib/muxilla/muxinate.rb', line 43

def chore nickname
  if !check_config
    return
  end
  muxinator_it :chore, nickname, options
end

#configureObject



10
11
12
13
14
15
# File 'lib/muxilla/muxinate.rb', line 10

def configure
  configuration = {}
  configuration[:development_dir] = shell.ask "what is your development directory?"
  destination = File.expand_path('~/.muxilla.conf')
  create_file(destination, configuration.to_json, :verbose => false)
end

#feature(nickname) ⇒ Object



21
22
23
24
25
26
# File 'lib/muxilla/muxinate.rb', line 21

def feature nickname
  if !check_config
    return
  end
  muxinator_it :feature, nickname, options
end