Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

code-check/cli-template-node

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command line application template for Node.js

Implement CLI application by editing main.js.
You may add new files to keep your code clean, if it is allowed in your challenge.

How to get input parameters

You can get arguments as args in main.js where the main method is defined.

function main(argv) {
  // code to run
}

This argv is simply came from process.argv passed by index.js.

How to output result

Use the standard console.log method to output results to stdout.

console.log(result);

Install External Libraries

If you want to use external libraries, do the following:

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.