summaryrefslogtreecommitdiff
path: root/.cargo/registry.toml
blob: a957b9b7865480953f57287c0edb9d41f96410ef (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
################
### Commands ###
################

# The system will automatically register commands under ./src/cmds/.
# This section is mainly for registering commands not in the automatic registration directory.

# [cmd.name]
# node = "name"
# type = "your_command::JVUnknownCommand"

[cmd.sign]
node = "sign"
type = "cmds::status::JVStatusCommand"

[cmd.sheet]
node = "sheet"
type = "cmds::status::JVStatusCommand"

[cmd.sheet_add]
node = "sheet.add"
type = "cmds::status::JVStatusCommand"

[cmd.drop]
node = "drop"
type = "cmds::status::JVStatusCommand"

[cmd.drop_cat]
node = "drop.cat"
type = "cmds::status::JVStatusCommand"

#################
### Renderers ###
#################

# Only register renderers here that need to be overridden using the `--renderer` flag.
# After registration, you can use the format `command --renderer renderer_name` to override the renderer.

# Default Renderer
[renderer.default]
name = "default"
type = "Renderer"

# Json Renderer
[renderer.json]
name = "json"
type = "crate::renderers::json::JVResultJsonRenderer"

[renderer.json_pretty]
name = "json-pretty"
type = "crate::renderers::json_pretty::JVResultPrettyJsonRenderer"

####################
### Auto-Collect ###
####################

[collect.args]
path = "src/args.rs"

[collect.cmds]
path = "src/cmds.rs"

[collect.collects]
path = "src/collects.rs"

[collect.inputs]
path = "src/inputs.rs"

[collect.outputs]
path = "src/outputs.rs"

[collect.renderers]
path = "src/renderers.rs"