troubleshooting - mvaltas/grind GitHub Wiki

Turning on debugging messages

To enable debug messages in grind you need to pass the --debug flag or define the GRIND_DEBUG environment variable. This will produce messages with the prefix debug: in magenta. Example:

$ GRIND_DEBUG=true grind update run
debug: check if grind is on PATH
debug: user configurations from: /Users/mvaltas/Projects/grind/conf/grind.conf
debug: got argument 'update'
debug: arguments 'update run'
debug: checking if '/Users/mvaltas/Projects/grind/grind.d/update' exists
debug: running /Users/mvaltas/Projects/grind/grind.d/update run
debug: requiring: core
Update run
debug: invoke _recur dir: /Users/mvaltas/Projects/grind-defs/global cmd: source
debug: _recur: /Users/mvaltas/Projects/grind-defs/global cmd: source
debug: loading: /Users/mvaltas/Projects/grind-defs/global/java
>>>global/java<<<
debug: requiring: brew
debug: requiring: appdmg
debug: brew_pkg: maven shortname: maven
debug: do_run: brew install maven
do_run: brew install maven
debug: unless: brew list --versions maven &> /dev/null
        unless: brew list --versions maven &> /dev/null
debug: __conditional_run: brew list --versions maven &> /dev/null re: ^[^0]$
debug: __iexec: brew list --versions maven &> /dev/null
debug: mark: brew list --versions maven &> /dev/null as ran
debug: call: brew list --versions maven &> /dev/null
debug: __capture_exit_code: 0
debug: __last_exit_code: 0
debug: exit didn't match ^[^0]$: SKIP
[SKIP]

Listing libraries (APIs) available

$ grind -l

Libraries available ('grind LIBRARY' for more information):

  _appdmg:              Library for appdmg app installation from a URI
  _brew:                Library for homebrew definitions
  _core:                Library for run and run checks
  _core-dryrun:         Library for dry-run mode
  _core-force:          Library for forced execution mode
  _environment:         Environment setttings
  _macos-defaults:              Library handling macOS defaults configuration values
  _secret-keys:         Key/Secret handling functions
⚠️ **GitHub.com Fallback** ⚠️