code: function onList() {
      getCurrentRegistry(function(cur) {
          var info = [''];
          var allRegistries = getAllRegistry();
  
          Object.keys(allRegistries).forEach(function(key) {
              var item = allRegistries[key];
              var prefix = item.registry === cur ? '* ' : '  ';
              info.push(prefix + key + line(key, 12) + item.registry);
          });
  
          info.push('');
          printMsg(info);
      });
  }
docs: /*//////////////// cmd methods /////////////////