Closed Dorababupc closed 9 months ago
You mean a runtime/dynamic condition affecting which syntax is present? No, there is no such mechanism. I guess it could be implemented via some kind of callback.
okay got it. Thank you for your timely response.
Closing this issue.
Hello guys, I am using CLIGEN for one of my projects and I have come across a situation. Let me explain with an example. My ideal cli would look like below:
Now, I want to make it :
so that user cannot get prompt for fast-rate if some condition is not met. And display as it is if the condition is met. Is there a way to do it in cligen ?
I guess I can make this by changing the treename depending upon the condition. But I want to have both of them within the same tree.
Thank you for your time.