mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
Add examples for math, units, and currency
This commit is contained in:
@@ -19,11 +19,13 @@ module.exports = class UnitsCommand extends Command {
|
||||
{
|
||||
key: 'base',
|
||||
type: 'string',
|
||||
examples: ['km', 'in'],
|
||||
parse: base => base.toLowerCase()
|
||||
},
|
||||
{
|
||||
key: 'target',
|
||||
type: 'string',
|
||||
examples: ['miles', 'cm'],
|
||||
parse: target => target.toLowerCase()
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user