sweepai-dev / airbyte

Airbyte is an open-source EL(T) platform that helps you replicate your data in your warehouses, lakes and databases.
https://airbyte.io
Other
0 stars 0 forks source link

Refactor CLI parsing from argparse to Click in airbyte-cdk/python #3

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR refactors the command-line argument parsing in the entrypoint.py file of the airbyte-cdk/python directory from argparse to Click. It also updates the setup.py file to include Click as a dependency and modifies the unit tests in test_entrypoint.py to test the new Click commands and options.

Summary of Changes

These changes improve the consistency and readability of the codebase by using Click, which provides a more user-friendly and intuitive interface for command-line argument parsing.

Fixes #1.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/refactor-cli-parsing