initial
This commit is contained in:
14
node_modules/command-line-args/lib/option-flag.js
generated
vendored
Normal file
14
node_modules/command-line-args/lib/option-flag.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict'
|
||||
const Option = require('./option')
|
||||
|
||||
class FlagOption extends Option {
|
||||
set (val) {
|
||||
super.set(true)
|
||||
}
|
||||
|
||||
static create (def) {
|
||||
return new this(def)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = FlagOption
|
Reference in New Issue
Block a user