Below is an example of how to install and make everything work.
-
Clone the repo
git clone https://github.com/Artic67/lab-1-mtd.git
-
Install NodeJs if you don't have it https://nodejs.org/uk/
-
Open cmd in folder of cloned repo
-
Write command to run script
node index.js
There are 2 different modes:
- Interactive
- Non-interactive
In interactive mode you write arguments in console one by one.
In Non-interactive mode you write a path to file with arguments.
File must be with .txt extension and have a strusture like:
A\sB\sC\n
For example:
1 0 0
Link to the revert commit: Revert commit