citty icon indicating copy to clipboard operation
citty copied to clipboard

Support multiple optional positional args

Open Rigo-m opened this issue 1 year ago • 2 comments

Describe the feature

When using lint-staged, the default behaviour is to pass filenames as positional arguments to linting CLIs, e.g.: your-cmd file1.ext file2.ext

AFAIK there's no way to support positional arguments in this way in citty. So, if I want to be able to support multiple positional arguments in my Citty CLI commands, I can't do it right now (or, at least, it's unclear if there is a way to do so).

Additional information

  • [ ] Would you be willing to help implement this feature?

Rigo-m avatar Oct 06 '23 13:10 Rigo-m