isProgramInstalled function

bool isProgramInstalled(
  1. String name
)

Returns true when the cli program named name is available via PATH

Implementation

bool isProgramInstalled(String name) {
  return dcli.which(name).found;
}