Debian Codegraph @

TODO

raw
1 support --set,--merge of #commented name=value
2 with operation controlled with
3 --with-comment=always
4 To add new item under comment even if same value as comment
5 --with-comment[=ifchanged]
6 To add new item under comment only if different.
7 Would support --list also to add to default list.
8 --new-comment
9 To add an (additional) comment line for item no matter where,
10 or if, it's added. Ensure above any #commented name=value though.
11
12 support multiple files passed to --merge
13
14 possibly support --format=sh|json with --merge
15
16 possibly support multiple duplicate names per section
17 to support MultiStrOpt in openstack config files file example.
18 This could be interfaced using the --list=multiname option.
19 Also have --list autodetect multiline lists as used by yum like:
20 name = val1, val2
21 val3
22 I.E. split on a combo of [\n,]
23
24 possibly support --lower to output normalised case for
25 --get and --sort
26
27 Have a look at cliff output formatters? csv and shell at least:
28 http://blog.oddbit.com/2013/11/22/a-unified-cli-for-op
29
30 --format=json to output json format.
31 Note ini format supports name:value so quite a lot of overlap
32
33 have pip install put man page in place