Command-Line Interface (CLI) application to check if a web link is active or broken.
- Linux distribution users can download the application from the latest release.
- Once downloaded, simply use the application by running
./CheckLinkCLI2
followed the path to your file that stores the web links. For ease, simply move to the current directory where application is downloaded. - If the passed file or file path is a directory, the application will read all the files in this directory.
- The application will then parse through all the links in the file and return the http status codes to the cli.
- Windows users can download the application from the latest release in any local folder of your choice.
- Open Powershell or cmd.exe and navigate to the directory where executable is downloaded.
- To run the application simply type
.\CheckLinkCLI2.exe
+ the path to your .txt or .html file. - If the passed file or file path is a directory, the application will read all the files in this directory
- The application will then parse through all the links in the file and return the http status codes to the cli
-
The follow command will return the current version of the application.
-
Type '.\CheckLinkCLI2.exe' + -v or --version
- Adding flags such as
--good
will return all the links with status200
. For example,.\CheckLinkCLI2.exe
+C:\Directory\fileName
+--good
- Adding flags like
--bad
will return all the links are notOK
. For example,.\CheckLinkCLI2.exe
+C:\Directory\fileName
+--bad
- Adding the flag
--all
will simply return show all the links and their statuses. Its equilavent to not adding any flag at all.
-
This feature will write all the links and its status code including helpful things like link statuses (e.g. good or bad) into a JSON file.
-
Type
.\CheckLinkCLI2.exe
+C:\Directory\fileName
+-j
or\j
or--json
- This feature requires an ignore file with url patterns. It can only include comments (starts with
#
) and/or url patterns that starts withhttp://
orhttps://
. - Type
.\CheckLinkCLI2.exe
+C:\Directory\ignorePatternFileName
+C:\Directory\filename
+-ignore
or-i
or\i
- This feature requires you to run the backend of Telescope. It will check the first 10 posts and return whether the httpstatus to the console.
- Type
.\CheckLinkCLI2.exe
+telescope
- You are always welcome to contribute to Check-Link, see the Contributing documentation