Osmc app function from terminal

How can I use the functions like enable/disable tethering,wifi to ethernet or vice versa and search and connect wifi which are give in buildin osmc program from terminal. Also I need to ask the location of that osmc addon in the root directory.
And again thanks for all osmc developers and this community.

sudo connmanctl can assist with this.

/usr/share/kodi/addons/osmc