Add configuration subsystem 73/10273/7
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 30 Apr 2018 18:16:03 +0000 (14:16 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 13 Jul 2018 18:15:06 +0000 (14:15 -0400)
commite3fd906d098ba9c75cd16dfdca895e58b37b65b7
tree96ef2f9c60d93d41c11224572f0f87ec22eb0955
parent632a2b6059356bc5ac3de7f6ace576f6404d6046
Add configuration subsystem

Create a basic ini based configuration subsystem
to be used in the future by lftools subsystems
as a single point of pulling configuration from.

Usage:

  lftools config get section [OPTION]
  lftools config set section option value

Example:

  lftools config set global username zxiiro
  lftools config get global

Issue: RELENG-915
Change-Id: I346662ae2c623538e8a6881574dad357a8ae4dee
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/commands/config.rst [new file with mode: 0644]
docs/commands/index.rst
lftools/cli/__init__.py
lftools/cli/config.py [new file with mode: 0644]
lftools/config.py [new file with mode: 0644]
requirements.txt