Exception: Ace::Review::Errors::GhCliNotInstalledError

Inherits:
Error
  • Object
show all
Defined in:
lib/ace/review/errors.rb

Overview

Raised when gh CLI is not installed

Instance Method Summary collapse

Constructor Details

#initializeGhCliNotInstalledError

Returns a new instance of GhCliNotInstalledError.



37
38
39
40
41
42
43
44
45
# File 'lib/ace/review/errors.rb', line 37

def initialize
  message = "GitHub CLI (gh) is not installed.\n"
  message += "Install with:\n"
  message += "  macOS: brew install gh\n"
  message += "  Linux: See https://cli.github.com/manual/installation\n"
  message += "  Windows: See https://cli.github.com/manual/installation"

  super(message)
end