Open hoop33 opened 5 years ago
url and query are positional arguments in yargs, so if you try to pass a header before url and query, you get an error.
This seems to be caused by the fact that headers is type: "array" -- see https://github.com/yargs/yargs/issues/1044 .
headers
type: "array"
url and query are positional arguments in yargs, so if you try to pass a header before url and query, you get an error.