doctor method
void
doctor()
Used by the dcli doctor command to print out the DartProjects details.
Implementation
void doctor() {
_colprint('Pubspec Path', privatePath(pathToPubSpec));
print('');
print('');
print('pubspec.yaml');
read(pathToPubSpec).forEach((line) {
print(' ${_makeSafe(line)}');
});
print('');
_colprint('Dependencies', '');
for (final dependency in pubSpec.dependencies.list) {
_colprint(dependency.name, dependency.toString());
}
}