X7ROOT File Manager
Current Path:
/opt/alt/alt-nodejs24/root/usr/lib/node_modules/npm/lib/commands/trust
opt
/
alt
/
alt-nodejs24
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
commands
/
trust
/
??
..
??
circleci.js
(5.74 KB)
??
github.js
(2.97 KB)
??
gitlab.js
(3.25 KB)
??
index.js
(609 B)
??
list.js
(1.6 KB)
??
revoke.js
(1.76 KB)
Editing: index.js
const BaseCommand = require('../../base-cmd.js') class Trust extends BaseCommand { static description = 'Create a trusted relationship between a package and a OIDC provider' static name = 'trust' static subcommands = { github: require('./github.js'), gitlab: require('./gitlab.js'), circleci: require('./circleci.js'), list: require('./list.js'), revoke: require('./revoke.js'), } static async completion (opts) { const argv = opts.conf.argv.remain if (argv.length === 2) { return Object.keys(Trust.subcommands) } return [] } } module.exports = Trust
Upload File
Create Folder