UNPKG

vagabond-uml

Version:

UML support for Vagabond via XMI and JDL files

16 lines (13 loc) 483 B
#!/usr/bin/env node 'use strict'; var chalk = require('chalk'); try { require('./lib/jhipsteruml'); } catch (error) { console.error(chalk.red('An error has occurred:\n\t') + error.name); if (error.name === 'SyntaxError') { console.error(chalk.red('At line ' + error.location.start.line + ', column ' + error.location.start.column + '.')); } console.error(chalk.red('Error message:\n\t') + error.message); console.error(chalk.red('Stack trace:\n') + error.stack); }