Exception: Dotbot::NoConfigError

Inherits:
DotbotError
  • Object
show all
Defined in:
lib/dotbot/errors.rb

Instance Method Summary collapse

Methods inherited from DotbotError

#initialize

Constructor Details

This class inherits a constructor from Dotbot::DotbotError

Instance Method Details

#help_text(message = nil) ⇒ Object



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/dotbot/errors.rb', line 15

def help_text(message=nil)
  "    \u{1F480}  No configuration found!  \u{1F480}\n    -----------------------\n\n    Dotbot looks for configuration first in ~/.dotbot.  This is a YAML\n    file.  See the docs for more info.  If no ~/.dotbot is found,\n    it also looks for environment variables starting with DOTBOT, such\n    as DOTBOT_DIR.\n\n  HEREDOC\nend\n"