And now for something completely different... :-)

While it's nice that DPDK includes a commandline library for easily
adding interactivity to applications, the library itself is a little
clunky to use, due to the massive amounts of boilerplate definitions
required. Having used it recently on an app I was playing with for
testing, I decided the situation can potentially be improved with it
by use of a script to produce the boilerplate when given a simple
list of commands the user wants to add to the app.

This is the result of that effort. Sending it here as a rough-draft to
get feedback on whether this is worth including in DPDK itself.
Hopefully others may find it of use.

Bruce Richardson (1):
  cmdline/dpdk-cmdline-gen: generate boilerplate for simple cmds

 lib/cmdline/dpdk-cmdline-gen.py | 143 ++++++++++++++++++++++++++++++++
 1 file changed, 143 insertions(+)
 create mode 100755 lib/cmdline/dpdk-cmdline-gen.py

--
2.39.2

Reply via email to