Add class Options

The Options constructor takes an options string, parses it and
makes the options available via __getitem__().

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2022-12-01 14:29:01 +01:00
commit 1ffdb8728a
3 changed files with 162 additions and 0 deletions

5
test/parse-opts/Makefile Normal file
View file

@ -0,0 +1,5 @@
TOPDIR = ../..
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-run.mk