summaryrefslogtreecommitdiff
path: root/Registry.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-22 14:24:50 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-22 14:24:50 +0800
commit47bf9b75f6dd8c2d3c3f1fb947a16e0e055f49cf (patch)
treec767e331e68134e19caeeb03269525be7b4fe6e1 /Registry.toml
parent53c26d656f975f93319dd432e409c1ea740ce06d (diff)
Add renderer system and implement status command
Diffstat (limited to 'Registry.toml')
-rw-r--r--Registry.toml24
1 files changed, 23 insertions, 1 deletions
diff --git a/Registry.toml b/Registry.toml
index 48c1d3d..f3f6fdd 100644
--- a/Registry.toml
+++ b/Registry.toml
@@ -1,3 +1,25 @@
-[status]
+################
+### Commands ###
+################
+
+[cmd.status]
node = "status"
type = "cmd::cmds::status::JVStatusCommand"
+
+#################
+### Renderers ###
+#################
+
+# Default Renderer
+[renderer.default]
+name = "default"
+type = "Renderer"
+
+# Json Renderer
+[renderer.json]
+name = "json"
+type = "crate::cmd::renderers::json_renderer::JVResultJsonRenderer"
+
+[renderer.json_pretty]
+name = "json-pretty"
+type = "crate::cmd::renderers::json_renderer::JVResultPrettyJsonRenderer"