WordLinker is a CLI Developed using the Cobra package in Golang. The use case of this CLI is that it will link all the occurrences of the word with the respective link.
WordLinker has the flexibility to pass the configuration file in the command.
Command to link the words.
WordLinker link --configFile <configFilePath> <dirPath>
--configFile
- Path to the config filedirPath
- Path to the dir over which you want to run the WordLinker command.
To print the version of WordLinker.
WordLinker version
For now, to install WordLinker you need to clone the repo and run the below Golang commands.
go build
go install
To do this you can mention this thing in the config file like below.
- excludepath:
- ".git/"
- ".gitignore"
- ".github/"
How you can mention what set of files or files with a particular extension WordLinker should run on?
To do this you can mention this thing in the config file like below.
includePath:
- ".md"
To do this you can mention this thing in the config file like below.
wordLinks:
- youtube: https://www.youtube.com/
Note: WIP project