NetworkManager/clients/cli
Lubomir Rintel 31aa2cfe29 cli: use a palette to implement coloring
This basically replaces the (NMMetaTermColor, NMMetaTermFormat) combo
with NMMetaColor that describes the colored element semantically as
opposed to storing the raw attributes.

A (currently static) paletted is used to translate the semantic color
code to the actual ANSI controle sequence. This matches what
terminal-colors.d(5) schemes use, making it convenient to implement
customizable palettes.
2018-05-10 14:36:58 +02:00
..
agent.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
common.h cli: merge IPv4 and IPv6 variants of print_dhcp_config() 2018-04-23 15:43:39 +02:00
connections.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
connections.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
devices.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
devices.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
general.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
nmcli.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
polkit-agent.c cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
settings.h cli: move setting creation to meta data 2017-04-12 14:12:20 +02:00
utils.c cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
utils.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00