Skip to content

node.js cli example of parsing crontab

Notifications You must be signed in to change notification settings

dominickolbe/node-cli-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-cli-example

This is an example project using a javascript command line interface (CLI) with node.js. I just wanted to figure out, how to work with cli parameters and input streams and here is the result...

node.js cli example of parsing crontab

Build Status

Install

Install npm dependencies

$ yarn

make it executable

$ chmod +x ./index.js

Run

$ ./index.js 16:10 < crontab.example

or use npm task

$ yarn example

Info

created and tested with:

  • macOS High Sierra v10.13.5
  • node.js v9.8.0
  • npm 5.6.0

About

node.js cli example of parsing crontab

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published