nmcli

Show connections

nmcli c show

Modifying an existing interface

nmcli c mod ${CONNECTION} ipv4.addresses ${IP}/${CIDR} ipv4.gateway ${GW} ipv4.dns ${DNS1},${DNS2} connection.autoconnect yes
nmcli c up ${CONNECTION}