wikibase-cli
Version:
A command-line interface to Wikibase
14 lines (12 loc) • 566 B
JavaScript
import { entityAttributeCommandsOptions } from '#lib/common_options'
export default {
alias: 'u',
args: '<entity>',
description: 'Display basic information on the requested entity',
options: Object.assign({ clipboard: false }, entityAttributeCommandsOptions),
examples: [
{ args: 'Q123', comment: 'Display basic information for the entity Q123' },
{ args: 'Q123 --lang ja', comment: 'Display basic information for the entity Q123 in Japanese' },
{ args: 'Q1 -p P3219,P2612', comment: 'Display the summary with additional properties' },
],
}