UNPKG

tv-schedule

Version:

A CLI tool to display TV show schedule.

15 lines (13 loc) 582 B
'use strict'; const pkg = require('./package.json'); const version = pkg.version; module.exports = function help() { let output = 'TV Schedule CLI Tool\n'; output += `Version ${version}\n\n`; output += 'Commands:\n'; output += '\ttv-schedule - Display\'s the TV schedule for today\n'; output += '\ttv-schedule yesterday - Display\'s the TV schedule for yesterday\n'; output += '\ttv-schedule tomorrow - Display\'s the TV schedule for tomorrow\n'; output += '\ttv-schedule date M/DD/YYYY - Display\'s the TV schedule for a specific date\n'; console.log(output); };