import * as chalk from 'chalk' ; export class Notify { static totalTime : number ; static createdOrUpdated ( action , message ) { console . log ( `${ chalk . greenBright ( action ) } ${ message }` ) ; } static log ( message ) { console . log ( `${ chalk . green ( message ) }` ) ; } static startTime ( ) { Notify . totalTime = new Date ( ) . getTime ( ) ; } static timeEnd ( message ) { let total = new Date ( ) . getTime ( ) - Notify . totalTime ; Notify . log ( `${ message }, Total Time Taken:${ total }` ) ; } static error ( message ) { throw message ; } }