summaryrefslogtreecommitdiff
path: root/gen/constants.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-15 01:12:06 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-15 01:12:06 +0800
commit10ed02b8541a80e60f7ad9f9fb51f8070d6be525 (patch)
treebfc034d1ad0c2d5567a53ece074932040dfb8d43 /gen/constants.rs
parent72f80ea51f25256d0c463c2f3dc3d8670cfc4634 (diff)
Add completions system for shell autocompletion
Diffstat (limited to 'gen/constants.rs')
-rw-r--r--gen/constants.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/gen/constants.rs b/gen/constants.rs
index e26317f..140743d 100644
--- a/gen/constants.rs
+++ b/gen/constants.rs
@@ -1,4 +1,5 @@
pub const COMMANDS_PATH: &str = "./src/cmds/cmd/";
+pub const COMPLETIONS_PATH: &str = "./src/cmds/comp/";
pub const RENDERERS_PATH: &str = "./src/cmds/renderer/";
pub const COMPILE_INFO_RS_TEMPLATE: &str = "./templates/compile_info.rs.template";
@@ -10,6 +11,9 @@ pub const SETUP_JV_CLI_ISS: &str = "./scripts/setup/windows/setup_jv_cli.iss";
pub const COMMAND_LIST_TEMPLATE: &str = "./templates/_commands.rs.template";
pub const COMMAND_LIST: &str = "./src/systems/cmd/_commands.rs";
+pub const COMPLETIONS_TEMPLATE: &str = "./templates/_comps.rs.template";
+pub const COMPLETIONS: &str = "./src/systems/comp/_comps.rs";
+
pub const OVERRIDE_RENDERER_DISPATCHER_TEMPLATE: &str =
"./templates/_override_renderer_dispatcher.rs.template";
pub const OVERRIDE_RENDERER_DISPATCHER: &str =
@@ -19,6 +23,9 @@ pub const OVERRIDE_RENDERER_ENTRY_TEMPLATE: &str =
"./templates/_override_renderer_entry.rs.template";
pub const OVERRIDE_RENDERER_ENTRY: &str = "./src/systems/render/_override_renderer_entry.rs";
+pub const OVERRIDE_RENDERERS_TEMPLATE: &str = "./templates/_override_renderers.rs.template";
+pub const OVERRIDE_RENDERERS: &str = "./src/systems/render/_override_renderers.rs";
+
pub const SPECIFIC_RENDERER_MATCHING_TEMPLATE: &str =
"./templates/_specific_renderer_matching.rs.template";
pub const SPECIFIC_RENDERER_MATCHING: &str = "./src/systems/render/_specific_renderer_matching.rs";