mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Rename cliargs to cliutil for consistency.
This commit is contained in:
parent
35ac51795b
commit
11ad1ffc38
2 changed files with 13 additions and 13 deletions
|
@ -1,11 +0,0 @@
|
|||
module.exports.list = function(val) {
|
||||
return val.split(/\s*,\s*/g).filter(Boolean)
|
||||
}
|
||||
|
||||
module.exports.allUnknownArgs = function(args) {
|
||||
return [].slice.call(args, 0, -1).filter(Boolean)
|
||||
}
|
||||
|
||||
module.exports.lastArg = function(args) {
|
||||
return args[args.length - 1]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue