Is your feature request related to a problem? Please describe.
Currently, if you need export files provided by mask (i.e., task1-*.drawio), you need to use ls <pattern> | xargs drawio <args> syntax, which isn't pretty and requires drawio app to load every time.
Describe the solution you'd like
Passing multiple arguments will reduce export time significantly as, for small documents, it is shorter than boot time.
Desireable CLI API:
Usage: drawio [options] [input file/folder]...
$ drawio --export task1-*.drawio
$ drawio --export file1.drawio file2.drawio file3.drawio
Passing multiple files should work similarly as passing directory name.
Describe alternatives you've considered
Alternatives considered:
ls | xargs (described above)
- Passing directory as an argument -- renders all documents in the directory, including ones not needed to be updated
- Makefile -- looks like an overkill
Additional context
Also, xargs not present on Windows.
Is your feature request related to a problem? Please describe.
Currently, if you need export files provided by mask (i.e.,
task1-*.drawio), you need to usels <pattern> | xargs drawio <args>syntax, which isn't pretty and requires drawio app to load every time.Describe the solution you'd like
Passing multiple arguments will reduce export time significantly as, for small documents, it is shorter than boot time.
Desireable CLI API:
Passing multiple files should work similarly as passing directory name.
Describe alternatives you've considered
Alternatives considered:
ls | xargs(described above)Additional context
Also,
xargsnot present on Windows.