Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand CLI commands to check data with QID #280

Open
2 tasks done
SethiShreya opened this issue Oct 8, 2024 · 1 comment
Open
2 tasks done

Expand CLI commands to check data with QID #280

SethiShreya opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels
feature New feature or request hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed

Comments

@SethiShreya
Copy link
Contributor

Terms

Description

This issue proposes the expansion of the existing CLI tool by introducing a new command:

scribe-data check-data --qid Q1234567

The purpose of this command is to check if the user-inputted language associated with the provided QID contains any data in wikidata, and if so, return the count of words available in that language.

Details:

Command:
scribe-data check-data --qid Q1234567

Functionality:

  1. The command will verify if the language corresponding to the given QID exists in wikidata.
  2. If the language contains data, it will return the total count of words for that language.
  3. If no data exists for the language, an appropriate message will be displayed, indicating the absence of records.

Contribution

No response

@SethiShreya SethiShreya added the feature New feature or request label Oct 8, 2024
@andrewtavis andrewtavis added help wanted Extra attention is needed hacktoberfest Included as a part of Hacktoberfest labels Oct 8, 2024
@andrewtavis
Copy link
Member

Assigning you here, @SethiShreya! Thanks for this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request hacktoberfest Included as a part of Hacktoberfest help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants