blob: 792e9d5fdd5f6ab014ecd1933971af2b3c11cda2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
command data {
import [string:file] as [string:module] {
run import_file file module;
type console;
}
}
command config {
alias configs;
alias setting;
alias settings;
perm utils.datamanager.admin;
list {
run config_list;
help Lists all modules that have at least one config setting.;
}
list [string:module] {
run config_list2 module;
help Lists all config settings of the specified module.;
}
get [string:module] [string:key] {
run config_get module key;
help Displays the value of the specified setting.;
}
set [string:module] [string:key] [string:value...] {
run config_set module key value;
help Assigns a new value to the given setting.;
}
remove_all [string:module] {
run config_remove_all module;
type console;
help Deletes all config settings of a given module.;
}
}
|