openconfig / ygnmi

A Go gNMI client library based on ygot-generated code
Apache License 2.0
12 stars 4 forks source link

Generating just path structs? #55

Open wenovus opened 2 years ago

wenovus commented 2 years ago

Is there an option in the CLI to generate just the path structs without the gnmigen? So something without the pathgen.GNMIGenerator?

DanG100 commented 2 years ago

No, there's no option for that currently.

wenovus commented 2 years ago

Are you ok with adding a flag to just generate the path structs? This way we can remove the same functionality in ygot.

wenovus commented 2 years ago

I'm happy to open a PR if you don't have any concerns.

DanG100 commented 2 years ago

Sounds good to me, it'd be nice to less duplication.

On Mon, Aug 8, 2022, 6:19 PM Wen Bo Li @.***> wrote:

I'm happy to open a PR if you don't have any concerns.

— Reply to this email directly, view it on GitHub https://github.com/openconfig/ygnmi/issues/55#issuecomment-1208784588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5V4WKT7SSTW5RMZJLIS7LVYGW3VANCNFSM55XMSMGA . You are receiving this because you commented.Message ID: @.***>