https://github.com/SaschaWillems/glCapsViewer
This is a Qt App which uses GLEW(OpenGL) and GLFW(OpenGL ES)
https://github.com/nigels-com/glew They have simple extension list command line tool https://github.com/glfw/glfw There is no command line sample