Unfortunately the dependency we use to help build our CLI (click) does not support using * with options. Instead what you have to do is supply the option multiple times:
I’m sorry you can’t use the glob/* syntax, that would have been ideal, but technical limitations prevented us from implementing it that way.
One trick you can use is number-expansion (but it looks like of weird). If your filenames are super predictable with a number you can actually include the option flag and bash will expand the entire thing:
--i-tables\ {1..3}_table.qza
This will work the same as the above. Note the \ to escape the space, this causes bash to see the entire chunk as a single string which is duplicated 3 times (1 through 3). Depending on how many tables you have, this trick may be more trouble than its worth if you aren’t super comfortable with how bash interprets commands.
Thanks for the quick answer.
I ended up making a Ruby script to merge all feature tables (containing _table.qza) and representative sequences (containing _rep-seqs.qza) to allow users some flexibility of naming.