mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
big help upgrades
- short descriptions for command list - argument descriptions - render argument list on detailed help page
This commit is contained in:
parent
5e5a738b74
commit
f9c627ada1
55 changed files with 114 additions and 30 deletions
|
@ -11,12 +11,13 @@ module.exports = {
|
|||
label: 'to',
|
||||
metadata: {
|
||||
description: 'Uses Optical Character Recognition to translate text in an image.',
|
||||
description_short: 'Image Text Translation',
|
||||
examples: ['ocrtr en'],
|
||||
category: 'utils',
|
||||
usage: 'ocrtr <language> [-from <origin language>]'
|
||||
},
|
||||
args: [
|
||||
{name: 'from', default: 'auto'}
|
||||
{name: 'from', default: 'auto', type: 'string', help: "Language to translate from"}
|
||||
],
|
||||
run: async (context, args) => {
|
||||
context.triggerTyping();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue