Allow glob patterns in download and rm, e.g. opake rm '*.tmp' or opake download 'report-*.pdf'. Resolution: list all documents, filter names against the glob pattern, operate on all matches. Use the glob or globset crate for pattern matching against the in-memory document list (no filesystem involved). Multiple matches are intentional here — unlike resolve_uri which errors on ambiguity, glob mode operates on all matches (with confirmation for rm).
Allow glob patterns in download and rm, e.g.
opake rm '*.tmp'oropake download 'report-*.pdf'. Resolution: list all documents, filter names against the glob pattern, operate on all matches. Use thegloborglobsetcrate for pattern matching against the in-memory document list (no filesystem involved). Multiple matches are intentional here — unlike resolve_uri which errors on ambiguity, glob mode operates on all matches (with confirmation for rm).