ReactFlow前端拖拽模型与参数配置功能MVP
This commit is contained in:
1 parent
70c91ed019
commit
d3b99304fb
2001 files changed
+349044
-548
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
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 usage = null
|
||||
|
||||
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
|
||||
Reference in new issue
Block a user