I am writing a new CLI and I am considering using yang as a data definition language. It has almost everything I need: mandatory/optionals, types, derived types, acceptable ranges, descriptions and a ton of existing modules.
However, I want to provide short help prompts: type '?' and see possible values for the next field with a short help (say 60 chars max). And there are no short prompts in .yang structure as far as I know.
How one would add short prompt information to a .yang file? Have a companion file containing only short prompts? Extend .yang format? Embed this information in .yang comments?
I am sure I am not the first person doing it, what is the recommended practice? I suspect the answer is 'companion file' because it will work with existing .yang files.