code: function(basename, ext, width, height) {
    var isCss = argv["c"] || argv["css"];
    var n = argv['n'] || '';
    if(!isCss){
      return [
        ".sprite"+n+"-", formateSpriteName(basename), "{",
        ".sprite"+n+"-item(\"", basename, "\",\"", ext, "\",", width, ",", height, ");",
        "}"
      ].join("");
    }else{
      return [
        ".sprite"+n+"-", basename, "{",
        "width:", width, "px; ",
        "height:",height,"px; ",
        "background-image:url(",basename,ext,");",
        "}"
      ].join("");
    }
  }
docs: 配置