proxmark3/client/deps/cliparser
Jean-Michel Picod 3b7cec365a Support double-quoted arguments in CLI
When a quoted command argument is seen, it will take all characters
until the next double-quote (no supported escape sequence here for
simplicity).
All white spaces (space, tab, etc.) are then removed from the argument.

This means that the following command should behave the same:
```
pm3> wiegand encode --fc 101 --cn 1337
pm3> wiegand encode --fc "1 0 1" --cn "1    3    3   7"
```

Or a more useful example, when copy/pasting hex formatted values:
```
pm3> hf iclass calcnewkey --old 1122334455667788 --new 2233445566778899
pm3> hf iclass calcnewkey --old "11 22 33 44 55 66 77 88" --new "22 33 44 55 66 77 88 99"
```
2023-10-18 10:27:12 +02:00
..
argtable3.c typos 2021-10-10 01:35:45 +02:00
argtable3.h typos 2021-10-10 01:35:45 +02:00
cliparser.c Support double-quoted arguments in CLI 2023-10-18 10:27:12 +02:00
cliparser.h Changed CLI max string argument length limit from 512 to 4096. data asn1 now handles 2048 hex bytes input 2023-03-12 09:53:23 +01:00
getopt.h
Makefile Add ISOC99 to cliparser for %zu 2020-10-21 09:59:29 +02:00
README.md Remove cliparser from make help 2021-05-22 22:54:31 +02:00

Command line parser

cliparser - library for proxmark with command line parsing high level functions.

External libraries:

argtable

Argtable3 is a single-file, ANSI C, command-line parsing library that parses GNU-style command-line options.

You can download argtable3 from this repository https://github.com/argtable/argtable3

argtable3 license