Skip to content

leberKleber/go-nmcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-nmcli

go wrapper for command line tool nmcli.

Features

The library can be used in a nmcli like scheme.

General

original command library path implemented
nmcli general status NMCli.General.Status(...)
nmcli general hostname NMCli.General.Hostname(...) ✔️
nmcli general permissions NMCli.General.Permissions(...) ✔️
nmcli general logging NMCli.General.Logging(...)

Networking

original command library path implemented
nmcli networking ... not implemented yet

Radio

original command library path implemented
nmcli radio ... not implemented yet

Device

original command library path implemented
nmcli device status NMCli.Device.Status(...) ✔️
nmcli device show NMCli.Device.Show(...)
nmcli device set NMCli.Device.Set(...)
nmcli device reapply NMCli.Device.Reapply(...)
nmcli device modify NMCli.Device.Modify(...)
nmcli device disconnect NMCli.Device.Disconnect(...)
nmcli device wifi list NMCli.Device.WiFiList(...) ✔️
nmcli device wifi connect NMCli.Device.WiFiConnect(...) ✔️
nmcli device wifi hotspot NMCli.Device.WiFiHotspot(...)
nmcli device wifi rescan NMCli.Device.WiFiRescan(...)
nmcli device wifi show-password NMCli.Device.WiFiShowPassword(...)
nmcli device wifi lldp NMCli.Device.WiFiLLDP(...)

Agent

original command library path implemented
nmcli agent ... not implemented yet

Monitor

original command library path implemented
nmcli monitor ... not implemented yet

Usage