Name | Modified | Size | Downloads / Week |
---|---|---|---|
CIT_x32_v0.1.zip | 2020-08-23 | 25.6 kB | |
CIT_x64_v0.1.zip | 2020-08-23 | 28.1 kB | |
README.md | 2020-08-23 | 2.7 kB | |
Totals: 3 Items | 56.4 kB | 0 |
CIT (Comment insert tool)
The Tool that allows you to insert comments on top of your source files
- Quick Start
- Usage
- Contact me
Quick Start
To start you need either download executable(available for windows) or build programm from source.
1. Download executable for Windows
Use this links:
You can add path to your exectuable to PATH variables for conviency
2. Build sources
Build using Visual Studio
1. Clone or download project
2. Launch .sln file (Visual studio solution)
3. Make sure C++17 is enabled Project->Properties->Configuration Properties->General->C++ Language Standard
4. Ctrl + Shift + B to Build or Build->Build Solution
Build from source Coming soon...
Usage
One or more files
CIT can insert into one or more exact files with following command:
Note! Due to how filesystem behaves you need to fill full path to your file or you must be in the same folder with needed file
CIT path/file1.extension path/file2.extension "Comment to paste" "Another comment"
Examples
PS F:\PetProjects\CIT_Release> CIT some.cpp "First line" "Second line"
Content of some.cpp file:
First line Second line ----FILE CONTENT----
Work with directories
Cit allows you to enter directories where lookup for files will be performed
Note! If no directory entered current directory will be automatically added to search directories
CIT path1 path2 ...
Examples
PS F:\PetProjects\CIT_Release> CIT ./ ./folder .cpp "First line" "Second line"
You can add -r
options to make recursive search within all given directories
PS F:\PetProjects\CIT_Release> CIT ./ -r .cpp .h "First line" "Second line"
CIT will scan "./" folder and all directories that "./" contain
Work with exact extensions
You can specify what extension to use
CIT ./ .extension1 .extension2 "comment"
Examples
PS F:\PetProjects\CIT_Release> CIT ./ .cpp .h "First line" "Second line"
You can add -a
options to add comments to any found files in the directory(all extension)
PS F:\PetProjects\CIT_Release> CIT ./ -a "First line" "Second line"
Contact me
In case of any problems feel free to contact me or create an issue
Or if you need any additional features
olexthelake@gmail.com