Skip to content

Create other methods to notify end task #1

@vitorbritto

Description

@vitorbritto
  • Beep in terminal (already done)
  • Send email (nodemailer module)
  • Show growl notification (growl module)
tictac
    .option('-b, --beep', 'beep when task finish')
    .option('-e, --email', 'send email when task finish')
    .option('-g, --growl', 'show growl notification when task finish')
// Notify method
if (cmd.beep) {
    play.sound(done);
}
if (cmd.growl) {
    play.sound(done);
    // use growl module
}
if (cmd.email) {
    play.sound(done);
    // use nodemailer module
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions