Using the gpio_buttons plugin instead of gpio_shutdown

I put a shutdown button on GPIO15, and shutdown works great with gpio_shutdown. As it would be nice to use an official plugin, are there any examples on how to configure gpio_buttons?