This is a simple command-line application written in Python.
src/main.py
: Entry point of the application.src/utils/helpers.py
: Helper functions for processing command-line arguments.requirements.txt
: List of dependencies required for the project.setup.py
: Configuration file for the package.
-
Clone the repository:
git clone <URL_REPO> cd my-cli-app
-
Install dependencies:
pip install -r requirements.txt
Run the application using:
python src/main.py [arguments]
Create a .env
file in the root directory of the project and add the following configurations:
RESULT_FILE=exchange_rates.json DEBUG=True
``
### Example 2: Downloading exchange rates for GBP for the last month and outputting to standard output
```shell
python main.py --currencies EUR,USD --start_date 2023-01-01 --end_date 2023-01-07
If you want to contribute, create a pull request or open an issue.