(short: boolean)
| 39 | } as const; |
| 40 | |
| 41 | const getArg = (short: boolean) => (longName: keyof typeof params) => { |
| 42 | if (short) { |
| 43 | const shortName = params[longName]; |
| 44 | if (!shortName) { |
| 45 | return ''; |
| 46 | } |
| 47 | return `-${shortName}`; |
| 48 | } |
| 49 | return `--${longName}`; |
| 50 | }; |
| 51 | |
| 52 | export const curl: Client<CurlOptions> = { |
| 53 | info: { |
no outgoing calls
no test coverage detected
searching dependent graphs…