A .NET Core console application that retrieves a file from the web, processes the data using a given algorithm, and writes it to a specified output format.
Currently supports processing Xlsx data using a simple Rig Count algorithm and writing to a Csv file. More options will be available soon.
- Automated file download from a predefined URL.
- Conversion and processing of Xlsx data to Csv format.
- Command-line interface for ease of use.
- Customizable behavior through command-line arguments and a config file.
-
Clone the repository:
git clone https://github.com/z1z0v1c/RigCountDownloader.git
-
Navigate to the project directory:
cd RigCountDownloader -
Restore dependencies:
dotnet restore
-
Build the application:
dotnet build
-
Run the application:
dotnet run --project RigCountProcessor
The application will download the Excel file from the specified URL and convert it into a CSV file saved on the local drive.
- Command Line Options:
--start-year, -s Starting year of data processing.
--year-count, -y Data processing year count.
- Running Tests:
dotnet testThis will execute all tests in the RigCountProcessor.Tests project.
This project is licensed under the MIT License. See the LICENSE file for details.