Versions in this module Expand all Collapse all v0 v0.0.1 Dec 29, 2023 Changes in this version + type Device interface + Status func(ctx context.Context) ([]device.Status, error) + WiFiConnect func(ctx context.Context, BSSID string, args device.WiFiConnectOptions) (string, error) + WiFiList func(ctx context.Context, args device.WiFiListOptions) ([]device.WiFi, error) + type General interface + Hostname func(ctx context.Context, args general.HostnameArgs) (string, error) + Permissions func(ctx context.Context) ([]general.Permission, error) + type NMCli struct + CommandContext func(ctx context.Context, name string, args ...string) utils.Cmd + Device Device + General General + func NewNMCli(opts ...Option) NMCli + type Option = func(cli *NMCli)