Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

17
node_modules/coa/qq.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
const run = require('./test/util').run;
// run(cmd => cmd.arg().name('qwe').end().arg().name('zxc').end().act(function(opts, args) { console.log({opts, args}); }), ['qwe', 'zxc']) // cmd and args
// .then(res => {
// // code
// // stdout
// // stderr
// console.log(res);
// });
run(cmd => cmd.opt().name('version').short('v').only().flag().act((opts) => { return 'aasd'; }), ['-v']) // cmd and args
.then(res => {
// code
// stdout
// stderr
console.log(res);
});