Branch name filtering in CLI will be migrated to this, and I'll probably add glob:<pattern> in place of --glob option.