OSD600 Release 0.1

What is release 1.0?

For release 1.0 I created a command-line tool written in node to read a file given by the user, find all of the links in it, and test if they are working, broken or unknown. After it processes the file it outputs to the console all the links it found and the "status" of each one (working, not working, or unknown). When running the program the user must give one argument for the file name. If the user fails to do this the program will output a message telling the user they must enter a command-line argument which is the name of the file they want to process.  

Features

Features include:

  • The ability to run the tool with v or version argument to get the version of the tool you are running.
  • Colour coded output: green: working, red: not woking, grey: unknown
  • Finds which links are broken, working, or unknow in a file
  • Can process any file type (txt, html, ext...)
  • Alerts user if they entered the wrong number of arguments
Example usage

Sample text file (test.txt):


Output after the program is run in the console using the command line argument: 
node lab1.js test.txt 

Output when user enters the wrong number of arguments:

GitHub Repo link:






Comments

Popular posts from this blog

OSD600 Release 0.4 Part 3

OSD600 Lab 5

Release 0.3 PR2