wikibase-cli
Version:
A command-line interface to Wikibase
17 lines (16 loc) • 525 B
JavaScript
export default {
args: '<title>',
description: 'Get a Wikidata id from a Wikipedia article title',
options: {
lang: true,
verbose: true,
clipboard: true,
json: false,
instance: true,
sparqlEndpoint: false,
},
examples: [
{ args: 'Cantabria', comment: 'Get the Wikidata id corresponding to the article "Cantabria" in Wikipedia' },
{ args: 'science politique --lang fr', comment: 'Get the Wikidata id corresponding to the article "science politique" in the French Wikipedia' },
],
}