Custom plugin for alerting

How can we use mage -v to build the backend while creating custom datasource backend plugin??