diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
deleted file mode 100644
index a2fcccc..0000000
--- a/.github/workflows/cmake.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-name: hosted-ninja_multi-vcpkg_submod-triplet-cacheoff
-on: [push, workflow_dispatch]
-
-jobs:
- job:
- name: ${{ matrix.os }}-${{ github.workflow }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- include:
- - os: windows-latest
- triplet: x64-windows
- - os: ubuntu-latest
- triplet: x64-linux
- - os: macos-latest
- triplet: x64-osx
-
- env:
- VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
-
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: true
-
- - uses: lukka/get-cmake@latest
- - name: dir
- run: find $RUNNER_WORKSPACE
- shell: bash
-
- - name: Setup vcpkg
- uses: lukka/run-vcpkg@main
- id: runvcpkg
- with:
- vcpkgJsonGlob: '**/cmakepresets/vcpkg.json'
-
- - name: List $RUNNER_WORKSPACE before build
- run: find $RUNNER_WORKSPACE
- shell: bash
- - name: Prints output of run-vcpkg's action.
- run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- # - name: Build
- # Build your program with the given configuration
- # run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
-
- - name: List $RUNNER_WORKSPACE after build
- run: find $RUNNER_WORKSPACE
- shell: bash
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..2bef732
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,23 @@
+name: Rust
+
+on:
+ push:
+ branches: [ "rust-lg" ]
+ pull_request:
+ branches: [ "rust-lg" ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Build
+ run: cargo build --verbose
+ - name: Run tests
+ run: cargo test --verbose
+
diff --git a/.gitignore b/.gitignore
index 59f00ad..450eff1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,10 @@
/.vs/*
/build
/x64
+
+
+# Added by cargo
+
+/target
+.vscode/
+Cargo.lock
diff --git a/.gitmodules b/.gitmodules
index 72d488d..e69de29 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "3rdparty/vcpkg"]
- path = vcpkg
- url = https://github.com/microsoft/vcpkg
diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644
index 5294329..0000000
--- a/CMakeLists.txt
+++ /dev/null
@@ -1,108 +0,0 @@
-cmake_minimum_required(VERSION 3.20.6)
-
-if(NOT DEFINED VCPKG_ROOT_PATH)
- set(VCPKG_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/vcpkg)
-endif()
-
-message("The vcpkg root path ${VCPKG_ROOT_PATH}")
-
-if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
- set(TOOLCHAIN_PATH ${VCPKG_ROOT_PATH}/scripts/buildsystems/vcpkg.cmake)
-
- set(CMAKE_TOOLCHAIN_FILE
- "${TOOLCHAIN_PATH}"
- CACHE STRING "Vcpkg toolchain file")
-
- message("Using default toolchain file")
-endif()
-
-
-set(SOFTWARE_DESCRIPTION
- "A tool to interact with the Icarus Music streaming API")
-set(SOFTWARE_VERSION
- "0.3.2")
-
-
-project(IcarusDownloadManager VERSION ${SOFTWARE_VERSION} DESCRIPTION ${SOFTWARE_DESCRIPTION} LANGUAGES CXX)
-
-
-message(STATUS "Checking compiler flags for C++20 support.")
-
-# Set C++20 support flags for various compilers
-include(CheckCXXCompilerFlag)
-
-if(WIN32)
- message("Windows environment")
-
- if (MSVC_VERSION GREATER_EQUAL "1900")
- message("Visual Studio version is at least ${vs_ver}")
-
- include(CheckCXXCompilerFlag)
- CHECK_CXX_COMPILER_FLAG("/std:c++20" _cpp_latest_flag_supported)
- if (_cpp_latest_flag_supported)
- add_compile_options("/std:c++20")
- endif()
-
- set(CMAKE_CXX_STANDARD 20)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- endif()
-else()
- check_cxx_compiler_flag("-std=c++20" COMPILER_SUPPORTS_CXX20)
- check_cxx_compiler_flag("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
-
- if(COMPILER_SUPPORTS_CXX20)
- message(STATUS "C++20 is supported.")
-
- set(CMAKE_CXX_STANDARD 20)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
-
- if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -stdlib=libc++")
- else()
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20")
- endif()
- elseif(COMPILER_SUPPORTS_CXX0X)
- message(STATUS "C++0x is supported.")
- if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -stdlib=libc++")
- else()
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
- endif()
- else()
- message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++20 support. Please use a different C++ compiler.")
- endif()
-endif()
-
-
-set(SOURCES
- src/Main.cpp
- src/Managers/ActionManager.cpp
- src/Managers/CommitManager.cpp
- src/Managers/FileManager.cpp
- src/Managers/TokenManager.cpp
- src/Managers/UserManager.cpp
- src/Models/Song.cpp
- src/Parsers/APIParser.cpp
- src/Syncers/Delete.cpp
- src/Syncers/Download.cpp
- src/Syncers/RetrieveRecords.cpp
- src/Syncers/Upload.cpp
- src/Utilities/Conversions.cpp
-)
-
-set(IDM_INCLUDE_DIR
- "${CMAKE_CURRENT_SOURCE_DIR}/include")
-
-include_directories(${IDM_INCLUDE_DIR})
-
-set(USE_SYSTEM_CURL OFF)
-set(BUILD_CPR_TESTS OFF)
-
-find_package(nlohmann_json CONFIG REQUIRED)
-find_package(OpenSSL REQUIRED)
-find_package(CURL REQUIRED)
-find_package(cpr CONFIG REQUIRED)
-
-
-add_executable(icd ${SOURCES})
-target_link_libraries(icd PRIVATE nlohmann_json::nlohmann_json OpenSSL::SSL OpenSSL::Crypto CURL::libcurl cpr::cpr)
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..4f4458b
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,18 @@
+[package]
+name = "icarus-dm"
+version = "0.4.0"
+edition = "2021"
+
+
+
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+futures = { version = "0.3.30" }
+http = { version = "1.1.0" }
+reqwest = { version = "0.12.4", features = ["json", "blocking", "multipart", "stream"] }
+serde = { version = "1.0.197", features = ["derive"] }
+serde_json = "1.0.115"
+tokio = { version = "1.37", features = ["full"] }
+tokio-util = { version = "0.7.11", features = ["codec"] }
diff --git a/IcarusDownloadManager.rc b/IcarusDownloadManager.rc
deleted file mode 100644
index 78870b7..0000000
--- a/IcarusDownloadManager.rc
+++ /dev/null
@@ -1,99 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "winres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (United States) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""winres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,3,2,0
- PRODUCTVERSION 0,3,2,0
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "FileDescription", "Tool to interact with Icarus API"
- VALUE "FileVersion", "0.3.2.0"
- VALUE "InternalName", "IcarusDo.exe"
- VALUE "LegalCopyright", "Copyright (C) 2022"
- VALUE "OriginalFilename", "IcarusDo.exe"
- VALUE "ProductName", "IcarusDownloadManager"
- VALUE "ProductVersion", "0.3.2.0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-#endif // English (United States) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
diff --git a/IcarusDownloadManager.sln b/IcarusDownloadManager.sln
deleted file mode 100644
index df5cd41..0000000
--- a/IcarusDownloadManager.sln
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32630.192
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IcarusDownloadManager", "IcarusDownloadManager.vcxproj", "{12955990-643F-4A99-95E5-4752AFA179B0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
- Release|x64 = Release|x64
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {12955990-643F-4A99-95E5-4752AFA179B0}.Debug|x64.ActiveCfg = Debug|x64
- {12955990-643F-4A99-95E5-4752AFA179B0}.Debug|x64.Build.0 = Debug|x64
- {12955990-643F-4A99-95E5-4752AFA179B0}.Debug|x86.ActiveCfg = Debug|Win32
- {12955990-643F-4A99-95E5-4752AFA179B0}.Debug|x86.Build.0 = Debug|Win32
- {12955990-643F-4A99-95E5-4752AFA179B0}.Release|x64.ActiveCfg = Release|x64
- {12955990-643F-4A99-95E5-4752AFA179B0}.Release|x64.Build.0 = Release|x64
- {12955990-643F-4A99-95E5-4752AFA179B0}.Release|x86.ActiveCfg = Release|Win32
- {12955990-643F-4A99-95E5-4752AFA179B0}.Release|x86.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {EA22B463-3EA6-4452-9AF1-D300C3BDE72D}
- EndGlobalSection
-EndGlobal
diff --git a/IcarusDownloadManager.vcxproj b/IcarusDownloadManager.vcxproj
deleted file mode 100644
index e16e870..0000000
--- a/IcarusDownloadManager.vcxproj
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Release
- Win32
-
-
- Debug
- x64
-
-
- Release
- x64
-
-
-
- 17.0
- {12955990-643F-4A99-95E5-4752AFA179B0}
- Win32Proj
- 10.0
-
-
-
- Application
- true
- v143
-
-
- Application
- false
- v143
-
-
- Application
- true
- v143
- NotSet
-
-
- Application
- false
- v143
- NotSet
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- true
-
-
- $(ProjectDir)include;$(IncludePath)
-
-
- $(ProjectDir)include;$(IncludePath)
-
-
-
- WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDebugDLL
- Level3
- ProgramDatabase
- Disabled
- stdcpp20
-
-
- MachineX86
- true
- Windows
-
-
-
-
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDLL
- Level3
- ProgramDatabase
- stdcpp20
-
-
- MachineX86
- true
- Windows
- true
- true
-
-
-
-
- stdcpp20
-
-
-
-
- stdcpp20
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/IcarusDownloadManager.vcxproj.filters b/IcarusDownloadManager.vcxproj.filters
deleted file mode 100644
index e61501d..0000000
--- a/IcarusDownloadManager.vcxproj.filters
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
- {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
- cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
-
-
- {93995380-89BD-4b04-88EB-625FBE52EBFB}
- h;hh;hpp;hxx;hm;inl;inc;xsd
-
-
- {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
- rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav
-
-
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
-
\ No newline at end of file
diff --git a/IcarusDownloadManager.vcxproj.user b/IcarusDownloadManager.vcxproj.user
deleted file mode 100644
index 43952bb..0000000
--- a/IcarusDownloadManager.vcxproj.user
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- upload-meta -u kverse -p demolaugh -h http://localhost:5002 -smca "D:\OneDrive\media\music\mp3\bb_king\paying_the_cost_to_be_the_boss"
- WindowsLocalDebugger
-
-
- upload-meta -u kverse -p demolaugh -h http://localhost:5002 -smca "D:\OneDrive\media\music\mp3\bb_king\paying_the_cost_to_be_the_boss"
- WindowsLocalDebugger
-
-
\ No newline at end of file
diff --git a/README.md b/README.md
index 6eb57d6..6e9f2c5 100644
--- a/README.md
+++ b/README.md
@@ -1,86 +1,67 @@
# IcarusDownloadManager
-IcarusDownloadManager is a Linux CLI software client application that has the feature of uploading and downloading songs from the [Icarus](https://github.com/kdeng00/Icarus) Music Server.
+IcarusDownloadManager is a CLI software client application that has the feature of uploading and downloading songs from the [Icarus](https://github.com/kdeng00/Icarus) Music Server.
## Built With
-* C++ with C++20 features
-* CMake
-* GCC >= 10 or Visual Studio >= 17 [2022]
-* [vcpkg](https://github.com/microsoft/vcpkg)
-* [json](https://github.com/nlohmann/json)
-* [openssl](https://github.com/openssl/openssl)
-* [curl](https://github.com/curl/curl)
-* [cpr](https://github.com/libcpr/cpr)
+* Rust
+* Cargo
+* futures
+* http
+* reqwst
+* serde
+* serde_json
+* tokio
+* tokio-util
### Getting Started
Clone the repo
-```
+```BASH
git clone --recursive https://github.com/kdeng00/IcarusDownloadManager
```
-Install packages
-
-```
-vcpkg install nlohman-json
-vcpkg install openssl
-vcpkg install curl
-vcpkg install cpr
-```
-
Build the project:
-```
+```BASH
cd IcarusDownloadManager
-mkdir build
-cd build
-
-cmake ..
-cmake --build . --config release -j
+cargo build
```
-The program has been built and can be executed by the binary file *icd*. For information on how to use icd, merely execute the program without any command line arguments.
+The program has been built and can be executed by the binary file *icarus-dm*. For information on how to use icarua-dm, merely execute the program without any command line arguments.
### Downloading Song
```BASH
-icd download -u spacecadet -p stellar40 -h https://icarus.com -b 15
-```
-
-### Uploading Song
-
-```BASH
-icd upload -u spacecadet -p stellar40 -h https://icarus.com -s /path/of/song.mp3
+icarus-dm download -u spacecadet -p stellar40 -h https://icarus.com -b 15
```
### Uploading Song with metadata
```BASH
-icd upload-meta -u spacecadet -p stellar40 -h https://icarus.com -s /path/of/song.mp3 -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png
+icarus-dm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -s /path/of/song.mp3 -t 1 -m /path/to/metadata/config/collection.json -ca /path/to/cover/art/image.png
```
### Uploading Song with metadata from directory
```BASH
-icd upload-meta -u spacecadet -p stellar40 -h https://icarus.com -smca /path/where/songs/and/metadata/exists/
+icarus-dm upload-meta -u spacecadet -p stellar40 -h https://icarus.com -smca /path/where/songs/and/metadata/exists/
```
-
### Retrieving Song in json
```Bash
-icd retrieve -u spacecadet -p stellar40 -h https://icarus.com -rt songs
+icarus-dm retrieve -u spacecadet -p stellar40 -h https://icarus.com -rt songs
```
### Deleting Song
```BASH
-icd delete -u spacecadet -p stellar40 -h https://icarus.com -D 15
+icarus-dm delete -u spacecadet -p stellar40 -h https://icarus.com -D 15
```
@@ -90,6 +71,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the code of conduc
## Versioning
+[v0.4.0](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/v0.4.0)
[v0.3.2](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/v0.3.2)
[v0.3.0](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/v0.3.0)
[v0.2.0](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/v0.2.0)
@@ -97,12 +79,6 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the code of conduc
[v0.1.1](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/v0.1.1)
[v0.1.0](https://github.com/kdeng00/IcarusDownloadManager/releases/tag/0.1.0)
-## Authors
-
-* **Kun Deng** - [kdeng00](https://github.com/kdeng00)
-
-See also the list of [contributors](https://github.com/kdeng00/Icarus/graphs/contributors) who participated in this project.
-
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
diff --git a/include/Managers/ActionManager.h b/include/Managers/ActionManager.h
deleted file mode 100644
index 66bc3e1..0000000
--- a/include/Managers/ActionManager.h
+++ /dev/null
@@ -1,93 +0,0 @@
-#ifndef ACTIONMANAGER_H_
-#define ACTIONMANAGER_H_
-
-#include
-#include
-#include
-#include
-#include
-
-#include"Models/Flags.h"
-#include"Models/IcarusAction.h"
-
-namespace Managers
-{
-
-
-
-class ActionManager
-{
-public:
- ActionManager(char**, int);
-
- Models::IcarusAction retrieveIcarusAction() const;
-private:
- constexpr std::array supportedFlags() noexcept
- {
- constexpr std::array allFlags{"-u", "-p", "-t", "-h", "-s",
- "-sd", "-sr", "-d", "-D", "-b", "-rt", "-nc",
- "-m", "-ca", "-smca", "-t"};
-
- return allFlags;
- }
- constexpr std::array supportedActions() noexcept;
-
- void initialize();
- void validateFlags();
- // Checks to see if the flag is valid
- template
- bool isValidFlag(const Str flag)
- {
- const auto flags = supportedFlags();
- const auto i = std::find_if(flags.begin(), flags.end(), [&](const Str &f)
- {
- return f.compare(flag) == 0 ? true : false;
- });
-
- auto result = i != flags.end() ? true : false;
-
- return result;
- }
-
- template
- bool doesFlagHaveValue(const Str flag)
- {
- const auto flags = parsedFlags();
- auto i = std::find_if(flags.begin(), flags.end(), [&](const Str &f)
- {
- return f.compare(flag) == 0 ? true : false;
- });
-
- if (i != flags.end())
- {
- if (++i != flags.end() && !isValidFlag(*i))
- {
- return true;
- }
- else
- {
- return false;
- }
- }
- else
- {
- return false;
- }
- }
-
- void printAction() noexcept;
- void printFlags() noexcept;
-
- std::vector parsedFlags();
-
- std::string action;
-
- std::vector flags;
-
- char **params;
- int paramCount;
-};
-
-}
-
-#endif
diff --git a/include/Managers/CommitManager.h b/include/Managers/CommitManager.h
deleted file mode 100644
index d3827f2..0000000
--- a/include/Managers/CommitManager.h
+++ /dev/null
@@ -1,220 +0,0 @@
-#ifndef COMMITMANAGER_H_
-#define COMMITMANAGER_H_
-
-#include