Selecting if-features in a non-interactive mode with yanglint
#2309
-
|
Hi all, I am trying to use it in the CI pipeline to lint a big yang model set that we work on and my question is how to construct the CLI command that would enable required features. Consider the following file layout: _features.yang # contains features definitions
module-a.yang
module-b.yang
module-c.yangI want to lint How should I invoke I tried different ways, but the only thing that partilly worked is to specify Appreciate if someone knows how to tackle this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Not sure if you are using a really old version or just missed the |
Beta Was this translation helpful? Give feedback.
Not sure if you are using a really old version or just missed the
-Fparameter inyanglint -h, but it allows for fine-tuning of all the features for all the modules.