OpenDaylight's Karaf console provides a multitude of useful commands for interacting with the OSGi runtime, and managing deployed applications. You may want to develop custom commands that integrate directly with Karaf so that you may automate tasks, or interact directly with your applications.
Custom Karaf commands will appear in your container as a fully integrated component of the console:
The preceding screenshot illustrates our sample cookbook command accepting an option flag and an argument; let's dive into building your own command.