Scribe-Data icon indicating copy to clipboard operation
Scribe-Data copied to clipboard

Expand CLI commands to check data with QID

Open SethiShreya opened this issue 1 year ago • 1 comments

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 avatar Oct 08 '24 15:10 SethiShreya

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

andrewtavis avatar Oct 08 '24 15:10 andrewtavis

Closed by f6685e8 :) Thanks for making the issue, @SethiShreya!

andrewtavis avatar Oct 28 '24 23:10 andrewtavis