govpp icon indicating copy to clipboard operation
govpp copied to clipboard

binapigen cli improvements

Open sknat opened this issue 3 years ago • 0 comments

This patch also proposes an evolution to the binapigen CLI in order to make it more user-friendly & discoverable and allow build pipelines based on go:generate

For now two usecases are in the picture:

  • Building from a directory containing .json files e.g. 'binapigen --api /usr/share/vpp/api --output ./myapp/bindings --filter interface,ip'
  • Building from a cloned local VPP e.g. 'binapigen --vpp ~/vpp --output ./myapp/binding'

sknat avatar Oct 17 '22 13:10 sknat