mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Add --delay option
This commit is contained in:
@ -31,6 +31,10 @@ module.exports = function () {
|
||||
id: {
|
||||
description: 'Set database id property (e.g. _id)',
|
||||
default: 'id'
|
||||
},
|
||||
delay: {
|
||||
alias: 'd',
|
||||
description: 'Add delay to responses (ms)'
|
||||
}
|
||||
})
|
||||
.boolean('watch')
|
||||
|
Reference in New Issue
Block a user