Heyho,
i have some commands that are meant for dev purposes (e.g. dropping the internal sqlite database or skipping login on button press).
how do i make sure they won't be compiled for production builds?
i know i could do #[cfg(debug_assertions)] for builder.invoke_handler(...) and do it twice for debug and prod configuration.
ideally, i'd like something like this:
let mut handler = generate_handler![prod_command1, prod_command2];
#[cfg(debug_assertions)]
handler.append(dev_command1, dev_command2);
is there something similar?
(Side note: I am using specta if that influences what I can/cannot do and i don't need to generate specta types for my debug commands)