mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Add sample custom command configuration(conf/command.conf)
This commit is contained in:
parent
15d51cb931
commit
edbe04b818
93
conf/command.conf
Normal file
93
conf/command.conf
Normal file
@ -0,0 +1,93 @@
|
||||
CustomCommand {
|
||||
#
|
||||
hello.simple {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.push.native {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.push.call {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.push.call2 {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.list.sumlen {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.list.splice {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.list.splice.auto {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.ran.array {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.repl1 {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.repl2 {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.toggle.case {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.more.expire {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.lexrange {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.hcopy {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
#
|
||||
hello.leftpad {
|
||||
minArgs 3
|
||||
maxArgs 3
|
||||
mode Read
|
||||
}
|
||||
}
|
||||
|
||||
@ -93,6 +93,12 @@ Include try.conf
|
||||
# Include dc.conf
|
||||
|
||||
|
||||
################################### LATENCY ####################################
|
||||
## Custom command define, see command.conf
|
||||
## must defined before Latency monitor
|
||||
#Include command.conf
|
||||
|
||||
|
||||
################################### LATENCY ####################################
|
||||
## Latency monitor define, see latency.conf
|
||||
Include latency.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user