UNPKG

wikibase-cli

Version:

A command-line interface to Wikibase

25 lines (24 loc) 1.14 kB
export default { alias: 'f', args: '<search>', description: 'Search entities', options: { lang: true, verbose: true, clipboard: false, json: true, instance: true, sparqlEndpoint: false, }, examples: [ { args: 'Ligo', comment: 'Displays a list of entities matching "Ligo"' }, { args: 'Harry Potter --limit 25', comment: 'Displays up to 25 results matching "Harry Potter"' }, { args: 'Harry Potter --verbose', comment: 'Display rich results (aka summaries)' }, { args: 'Harry Potter --properties P577,P935', comment: 'Request additional properties (separated by a comma) to be added to the results summaries' }, { args: 'date --type property', comment: 'Search properties (but `wb props` might be doing a better job)' }, { args: 'date --type lexeme', comment: 'Search lexemes' }, { args: 'code --type form', comment: 'Search forms' }, { args: 'test --type sense', comment: "Searching senses doesn't seem to work currently (2020-04-17)" }, { args: '--cirrus "porte haswbstatement:P31=Q5"', comment: 'Use Cirrus search to find humans (Q5) matching "porte"' }, ], }