Command line utility for manipulating ini files with duplicate key names.
Go to file
GenZmeY 0ea49ff1ad release: 0.2.2
- stop parsing options when pos args started
- add sections with newline before
2020-04-29 11:38:02 +03:00
output release: 0.2 2020-04-27 14:35:10 +03:00
tests release: 0.2.2 2020-04-29 11:38:02 +03:00
types release: 0.2.2 2020-04-29 11:38:02 +03:00
.gitignore 0.1 2020-04-26 02:42:14 +03:00
actions.go release: 0.2 2020-04-27 14:35:10 +03:00
args.go release: 0.2.2 2020-04-29 11:38:02 +03:00
LICENSE Initial commit 2020-04-26 00:02:58 +03:00
main.go release: 0.2 2020-04-27 14:35:10 +03:00
Makefile release: 0.2.2 2020-04-29 11:38:02 +03:00
reader.go 0.1 2020-04-26 02:42:14 +03:00
README docs: update README 2020-04-27 14:37:38 +03:00
run_test.sh 0.1 2020-04-26 02:42:14 +03:00
stat_unix.go release: 0.2 2020-04-27 14:35:10 +03:00
stat_windows.go release: 0.2 2020-04-27 14:35:10 +03:00
writer.go release: 0.2.1 2020-04-29 05:31:19 +03:00

A utility for manipulating ini files with duplicate keys

Usage: multini [OPTION]... [ACTION] config_file [section] [param] [value]
Actions:
  -g, --get          Get values for a given combination of parameters.
  -s, --set          Set values for a given combination of parameters.
  -a, --add          Add values for a given combination of parameters.
  -d, --del          Delete the given combination of parameters.
  -c, --chk          Display parsing errors for the specified file.

Options:
  -e, --existing     For --set and --del, fail if item is missing.
  -r, --reverse      For --add, adds an item to the top of the section
  -i, --inplace      Lock and write files in place.
                     This is not atomic but has less restrictions
                     than the default replacement method.
  -o, --output FILE  Write output to FILE instead. '-' means stdout
  -u, --unix         Use LF as end of line
  -w, --windows      Use CRLF as end of line
  -q, --quiet        Suppress all normal output
  -h, --help         Write this help to stdout
      --version      Write version to stdout