mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -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
|
@ -8,12 +8,13 @@ module.exports = {
|
|||
name: "update",
|
||||
metadata: {
|
||||
description: 'Fetches latest bot version.',
|
||||
description_short: 'Bot update',
|
||||
examples: ['update'],
|
||||
category: 'dev',
|
||||
usage: 'update [-force true]'
|
||||
},
|
||||
args: [
|
||||
{ default: false, name: "force", type: "bool" }
|
||||
{ default: false, name: "force", type: "bool", help: "Force update" }
|
||||
],
|
||||
onBefore: context => context.user.isClientOwner,
|
||||
onCancel: context =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue