atom-beautify/lib/langs/html-erb-beautify.coffee

10 lines
294 B
CoffeeScript
Raw Normal View History

###
Requires https://github.com/hhatto/autopep8
###
"use strict"
cliBeautify = require("./cli-beautify")
getCmd = (inputPath, outputPath, options) ->
# Use command available in $PATH
"htmlbeautifier < \"" + inputPath + "\" > \"" + outputPath + "\""
module.exports = cliBeautify(getCmd)