Added readline autocomplete to proxmark3 client commands. Still works with shell filenames tab complete

This commit is contained in:
iceman1001 2021-12-12 20:12:56 +01:00
commit a348f48602
5 changed files with 1006 additions and 0 deletions

View file

@ -271,6 +271,10 @@ style:
# Update commands.json
[ -x client/proxmark3 ] && client/proxmark3 --fulltext | python3 client/pyscripts/pm3_help2json.py - doc/commands.json
# Update the readline autocomplete autogenerated code
[ -x client/proxmark3 ] && client/proxmark3 --fulltext | python3 client/pyscripts/pm3_help2list.py - client/src/rl_vocabulory.h
# Detecting weird codepages and tabs.
ifeq ($(platform),Darwin)
miscchecks: TABSCMD=egrep -l '\t' {}