8 line
162 B
JavaScript
Executable File

#!/usr/bin/env node
var rw = require("../").dash;
rw.writeFile(process.argv[2] || "-", "Hello, world!", "utf8", function(error) {
if (error) throw error;
});