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)
  <<~HEREDOC
    💀  No configuration found!  💀
    -----------------------

    Dotbot looks for configuration first in ~/.dotbot.  This is a YAML
    file.  See the docs for more info.  If no ~/.dotbot is found,
    it also looks for environment variables starting with DOTBOT, such
    as DOTBOT_DIR.

  HEREDOC
end