Uname: Linux premium193.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.34 [ PHP INFO ] PHP os: Linux
Server Ip: 192.64.117.120
Your Ip: 216.73.216.119
User: mercnlgf (820) | Group: mercnlgf (812)
Safe Mode: OFF
Disable Function:
NONE

name : 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
© 2026 MAINHACK