HalosGhost / pbpst

A command-line libcurl C client for pb deployments
GNU General Public License v2.0
44 stars 9 forks source link

Add option to list all providers which are in the paste db #58

Closed HalosGhost closed 8 years ago

HalosGhost commented 8 years ago

Right now, -Dq respects the provider (including if it has been set by -P).

However, this means there is no way to list all pastes in the paste db (only all pastes present in the current provider).

It would be nice (and good for future-proofing) if we had an option to list all of the providers in the paste db, so you could at least run the following to list all pastes:

$ for i in "$(pbpst -DH)"; do pbpst -Dq '<search>' -P "$i"; done

HalosGhost commented 8 years ago

via 3d8e4d0fe78cf6a2010b2207b0d741dd82f174bf, 6d3a188f150e83acc8d9db3c9d3a396b82fd15f0 and 1b55309353dad1e1364a2131e88217265e76a9b2