Closed softwarewright closed 3 years ago
Example:
const cli = meow({ importMeta: import.meta, description: "Custom description", help: ` Usage foo <input> `, flags: { test: { type: "number", alias: "t", isRequired: () => false, isMultiple: true, }, }, }); console.log(cli.flags.test);
should return []
[]
but instead returns
Missing required flag --test, -t
I put up a PR fix here: https://github.com/sindresorhus/meow/pull/194
Example:
should return
[]
but instead returns