Initial commit, 90% there

This commit is contained in:
mdares
2025-12-02 16:27:21 +00:00
commit 755028af7e
7353 changed files with 1759505 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#!/usr/bin/env node
'use strict';
require('../../../../')({
commands: {
'a-b-c-d-e-f': {
options: [{
name: 'f1',
required: true
}],
pipe: {
after: JSON.stringify
}
},
'general-test-module': {
pipe: {
stdin: (stdinValue, args) => {
args.param2 = stdinValue;
return args;
},
after: JSON.stringify
}
}
},
validateRequiredParameters: true,
enumerability: 'all',
help: {
option: 'modulehelp',
stripAnsi: true
},
version: {
option: 'moduleversion'
},
pipe: {
after: result => `${result}\n=========`
}
});