Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Make github_data a command with several subcommands #16

Open
difince opened this issue Dec 16, 2021 · 0 comments
Open

Make github_data a command with several subcommands #16

difince opened this issue Dec 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@difince
Copy link
Contributor

difince commented Dec 16, 2021

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

Combine the logic associated with GitHub Data into a single executable.
Create a single python command which provides several services/sub-commands:

  1. Extract GitHubData
  2. Reformat GitHubData

Each of the subcommands will have its own set of mandatory/optional parameters.

Command signature:

python ./ml-conversational-analytic-tool/github_data.py extract <organization> --repo <repo>
python ./ml-conversational-analytic-tool/github_data.py reformat <raw_data_file> --name <output_file_name>

github_data.py will be a wrapper that will call the specific logic for data extraction or format.
For future enhancements additional subcommand could be added.

Describe alternatives you've considered

No response

Additional context

No response

@difince difince added the enhancement New feature or request label Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant