first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

29
build/node_modules/lnfs/cli.js generated vendored Executable file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env node
'use strict';
var path = require('path');
var meow = require('meow');
var lnfs = require('./');
var cli = meow({
help: [
'Usage',
' $ lnfs <file> <target>',
'',
'Example',
' $ lnfs foo.txt bar.txt'
]
});
if (cli.input.length < 2) {
console.error('Source file and target required');
process.exit(1);
}
lnfs(cli.input[0], cli.input[1], function (err) {
if (err) {
console.error(err.message);
process.exit(1);
}
console.log(path.resolve(cli.input[1]) + ' -> ' + path.resolve(cli.input[0]));
});