The main part of this repository is to provide with a menu selector, where you can navigate through executable files with vim motions.
First you need to have scoop installed on windows machine
Open powershell and type this:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserInvoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
After installing run: scoop status
Here is scoop official page: https://scoop.sh/
Open powershell and type this:
scoop bucket add loaders https://github.com/Fire-coin/firecoin-scoop-loadersscoop install loaders
After this you can type xmenu, and the menu with executables will pop up.
To use prebuilt files navigate to this directory:
cd ~\scoop\apps\loaders\1.0.0\bin
Now when you run xmenu, you will see the prebuilt programs.
-> You navigate using vim motions only up and down, so by pressing j you move down by 1 and by pressing k you move up by 1y 1
-> To select an executable to be run, you need to press enter key, after selected exe file finishes running, program will prompt you to press enter to go back to the menuenu
Alongside with main.cpp, there are included 2 other files to test the it with them.
This file prompts user to enter directory from which to create a tree from, including files. If left empty or dot is entered the directory is defaulted to the current one it is in. The tree looks like this:
This file promts user to provide source file of space separated columns and new line separated rows, to create a table. Then it also prompts wheter to display it in console or output to the file. In the image are shown both console and file output from data.txt file.
All files are independent of each other. Just compile files with below stated C++ version.
-> you need C++ 17 or later because of filesystem header, also it is windows dependentent
-> you need C++ 17 or later, cross platformorm
-> idk, just dont use C++ 98 or older, cross platformorm