File Explorer

/var/lang/lib/node_modules/npm/lib/commands/trust

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
6 files
index.js609 B · 25 lines
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