A CLI-based static file analyzer for codebase analysis. Made from pure C++ with object-oriented methodology. Easy to use and blazing fast response.
The project supports two main operational modes:
- Interactive Mode: For continuous exploration and analysis.
- Command Line Mode (CLI): For quick, one-off commands and scripting.
- Compiler: GCC MinGW (x32/64) ver 14.2.0 (Recommended)
- Terminal: CMD (Windows)
- Libraries: No external dependencies required (clone and run the damn code 💀)
- Runtime Environment: Windows 11 and above (Recommended)
Use the following commands to build the executable:
Makefile Build (Recommended):
mingw32-makeManual Build:
g++ main.cpp cmd.cpp -o cvaultRunning the Application:
- Windows:
cvault.exeor simplycvault - Linux/macOS:
./cvault
Used to scan a directory for files. If the path is not specified, it scans the current working directory.
```bash
cvault populate .
```
Displays all files in the scanned directory. Defaults to the current directory unless specified otherwise.
```bash
cvault report .
```
Searches for a specific file in the populated directory based on the name.
*Note:* This functionality does not work for executables or object files.
```bash
cvault fsearch filename
```
Sorts files (including executables and object files) in increasing order based on the file size (number of bytes).
```bash
cvault fsortbyte .
```
When launched without arguments, Code Vault enters an interactive shell. Available commands include:
| Command | Description |
|---|---|
| populate | Populate / scan the directory |
| report | Display the scanned directory report |
| fsortbyte | Sort files based on file size |
| fsearch | Search for a specific file in the directory |
| fmaxbyte | Find the largest file in the directory |
| creds | Display credits and documentation links |
| help | Display commands and their meanings |
| exit / quit | Exit the application |
- GitHub Repository: - tecnolgd/Code-Vault
- Report Issues: Open an Issue
© 2026 Code Vault Documentation