use grn_plugin_command_create API instead of the macro