(value?: string)
| 32 | ` |
| 33 | |
| 34 | const parse_boolean = (value?: string) => { |
| 35 | if (!value) return true |
| 36 | return !["false", "0", "no", "off"].includes(value.toLowerCase()) |
| 37 | } |
| 38 | |
| 39 | const parse_args = (argv: string[]): { options: cli_options; query: string } => { |
| 40 | const options: cli_options = {} |