HalosGhost / pbpst

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

Add an option to output all the supported lexers and styles #16

Closed HalosGhost closed 9 years ago

HalosGhost commented 9 years ago

Since the available lexers might change with a different version of pygments, it would be handy to have an option that just outputs the list of lexers supported by the selected pb instance.

Technically, this has no prerequisites, but it would be odd to support it before lexers themselves are supported. So, consider #15 a soft pre-req.

HalosGhost commented 9 years ago

In addition to the /l route that pb offers, there is also a /ls route to list supported styles (pygments themes). Adding --list-lexers and --list-themes should be pretty easy.

HalosGhost commented 9 years ago

via 28be040