(value, defaultValue = [])
| 43 | } |
| 44 | |
| 45 | const splitCommaSeparatedList = (value, defaultValue = []) => { |
| 46 | if (!value) { |
| 47 | return defaultValue; |
| 48 | } |
| 49 | return value.split(','); |
| 50 | }; |
| 51 | |
| 52 | export function configure(argv: any): Config { |
| 53 | const program = new Command(); |