UNPKG

adonis-sentry-v2

Version:

Sentry provider for adonis framework

13 lines (10 loc) 301 B
'use strict' const path = require('path') module.exports = async (cli) => { try { await cli.copy(path.join(__dirname, 'stubs/sentry.js'), path.join(cli.helpers.configPath(), 'sentry.js')) cli.command.completed('create', 'config/sentry.js') } catch (error) { console.log(error) } }