Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/nodejs/npm/lib/utils/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const aliases = require('./cmd-list').aliases
module.exports = function usage (cmd, txt, opt) {
const post = Object.keys(aliases).reduce(function (p, c) {
var val = aliases[c]
if (val !== cmd) {
return p
}
return p.concat(c)
}, [])
if (opt || post.length > 0) {
txt += '\n\n'
}
if (post.length === 1) {
txt += 'alias: '
txt += post.join(', ')
} else if (post.length > 1) {
txt += 'aliases: '
txt += post.join(', ')
}
if (opt) {
if (post.length > 0) {
txt += '\n'
}
txt += 'common options: ' + opt
}
return txt
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |