I am writing an elisp package currently I am using hydra, I would like to be able to have shortcuts you can toggle on and off for various flags.
You see this sort of thing in magit and org mode when you press the key and it hightlight the text another colour to indicate the flag is checked before selecting an actual option.
What are my options and can hydra do this sort of thing ?