anchor.diff:        if (!await pubspecFile.exists()) {
           throw new Exception('No pubspec.yaml found in current directory.');
         } else {
  -        var pubspec = await Pubspec.load(Directory.current);
  +        var pubspec = await loadPubspec();
           var oldName = pubspec.name;
           await renamePubspec(Directory.current, oldName, newName);
           await renameDartFiles(Directory.current, oldName, newName);
  
positive.code:       if (visitor.replace.isNotEmpty) {
          visitor.replace.forEach((range, replacement) {
            if (range.first is int) {
              contents =
                  contents.replaceRange(range.first, range.last, replacement);
            } else if (range.first is String) {
              contents = contents.replaceAll(range.first, replacement);
            }
          });
  
  
negative.code:     if (argResults.rest.isNotEmpty)
        newName = argResults.rest.first;
      else {
        newName = prompts.get('Rename project to');
      }
  
      var choice = prompts.getBool('Rename the project to `$newName`?');
  
      if (choice) {
        print('Renaming project to `$newName`...');
        var pubspecFile =
            new File.fromUri(Directory.current.uri.resolve('pubspec.yaml'));
  