Merge pull request #1073 from tcprst/cliparser_todo

Generate and add cliparser TODO
This commit is contained in:
Iceman 2020-11-28 22:31:12 +01:00 committed by GitHub
commit 74613c75bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 397 additions and 0 deletions

View file

@ -169,6 +169,7 @@ help:
@echo "+ fpga_compress - Make tools/fpga_compress"
@echo
@echo "+ style - Apply some automated source code formatting rules"
@echo "+ cliparser - Generate cliparser TODO
@echo "+ check - Run offline tests. Set CHECKARGS to pass arguments to the test script"
@echo "+ .../check - Run offline tests against specific target. See above."
@echo "+ miscchecks - Detect various encoding issues in source code"
@ -248,6 +249,14 @@ endif
# easy printing of MAKE VARIABLES
print-%: ; @echo $* = $($*)
cliparser:
# Get list of all commands
cat doc/commands.md | grep -e ^\|\` | cut -f 2 -d "\`" | awk '{$$1=$$1};1' > cliparser_all_commands.tmp
# Get list of cliparserized commands
grep -r CLIParserInit ./client/src/ | cut -f 2 -d "\"" | awk '{$$1=$$1};1' > cliparser_done.tmp
# Determine commands that still need cliparser conversion
grep -xvf cliparser_done.tmp cliparser_all_commands.tmp > ./doc/cliparser_todo.md
style:
# Make sure astyle is installed
@which astyle >/dev/null || ( echo "Please install 'astyle' package first" ; exit 1 )

388
doc/cliparser_todo.md Normal file
View file

@ -0,0 +1,388 @@
clear
help
pref
rem
quit
exit
analyse help
analyse lcr
analyse crc
analyse chksum
analyse dates
analyse tea
analyse lfsr
analyse a
analyse nuid
analyse demodbuff
analyse freq
data help
data biphaserawdecode
data detectclock
data fsktonrz
data manrawdecode
data rawdemod
data askedgedetect
data autocorr
data dirthreshold
data hide
data hpf
data iir
data grid
data ltrim
data mtrim
data norm
data plot
data rtrim
data setgraphmarkers
data shiftgraphzero
data zerocrossings
data convertbitstream
data getbitstream
data bin2hex
data bitsamples
data clear
data hexsamples
data hex2bin
data print
data samples
data setdebugmode
data tune
emv help
emv list
hf help
hf list
hf tune
hf search
hf sniff
hf 14a help
hf 14a list
hf 14a reader
hf 14a cuids
hf 14a sim
hf 14a sniff
hf 14a config
hf 14b help
hf 14b list
hf 14b sriwrite
hf 15 help
hf 15 list
hf 15 dump
hf 15 info
hf 15 raw
hf 15 rdbl
hf 15 readmulti
hf 15 restore
hf 15 wrbl
hf 15 writeafi
hf 15 writedsfid
hf epa help
hf epa cnonces
hf epa preplay
hf felica help
hf felica list
hf felica reader
hf felica sniff
hf felica raw
hf felica rdunencrypted
hf felica wrunencrypted
hf felica rqservice
hf felica rqresponse
hf felica scsvcode
hf felica rqsyscode
hf felica auth1
hf felica auth2
hf felica rqspecver
hf felica resetmode
hf felica litesim
hf felica litedump
hf fido help
hf fido list
hf fido info
hf iclass help
hf iclass info
hf iclass list
hf legic help
hf legic list
hf legic reader
hf legic info
hf legic dump
hf legic restore
hf legic rdbl
hf legic sim
hf legic wrbl
hf legic crc
hf legic eload
hf legic esave
hf legic wipe
hf lto help
hf lto dump
hf lto restore
hf lto info
hf lto rdbl
hf lto wrbl
hf lto list
hf mf help
hf mf list
hf mf darkside
hf mf nested
hf mf hardnested
hf mf staticnested
hf mf autopwn
hf mf nack
hf mf chk
hf mf fchk
hf mf decrypt
hf mf dump
hf mf rdbl
hf mf rdsc
hf mf restore
hf mf setmod
hf mf wrbl
hf mf sim
hf mf ecfill
hf mf eclr
hf mf egetblk
hf mf egetsc
hf mf ekeyprn
hf mf eload
hf mf esave
hf mf eset
hf mf eview
hf mf cgetblk
hf mf cgetsc
hf mf cload
hf mf csave
hf mf csetblk
hf mf csetuid
hf mf cview
hf mf gen3uid
hf mf gen3blk
hf mf gen3freeze
hf mf ice
hf mfp help
hf mfp info
hf mfu help
hf mfu info
hf mfu dump
hf mfu restore
hf mfu eload
hf mfu rdbl
hf mfu wrbl
hf mfu cauth
hf mfu setpwd
hf mfu setuid
hf mfu sim
hf mfu gen
hf mfu pwdgen
hf mfu otptear
hf mfdes help
hf mfdes enum
hf mfdes getuid
hf mfdes info
hf mfdes list
hf st help
hf st list
hf thinfilm help
hf thinfilm info
hf thinfilm list
hf thinfilm sim
hf topaz help
hf topaz list
hf topaz info
hf topaz reader
hf topaz sim
hf topaz sniff
hf topaz raw
hf waveshare help
hw help
hw connect
hw dbg
hw detectreader
hw fpgaoff
hw lcd
hw lcdreset
hw ping
hw readmem
hw reset
hw setlfdivisor
hw setmux
hw standalone
hw status
hw tia
hw tune
hw version
lf help
lf config
lf cmdread
lf read
lf search
lf sim
lf simask
lf simfsk
lf simpsk
lf simbidir
lf sniff
lf tune
lf awid help
lf awid demod
lf awid read
lf awid clone
lf awid sim
lf awid brute
lf awid watch
lf cotag help
lf cotag demod
lf cotag read
lf destron help
lf destron demod
lf destron read
lf destron sim
lf em help
lf em 410x_demod
lf em 410x_read
lf em 410x_sim
lf em 410x_brute
lf em 410x_watch
lf em 410x_spoof
lf em 410x_clone
lf em 4x05_demod
lf em 4x05_dump
lf em 4x05_wipe
lf em 4x05_info
lf em 4x05_read
lf em 4x05_write
lf em 4x50_dump
lf em 4x50_info
lf em 4x50_write
lf em 4x50_write_password
lf em 4x50_read
lf em 4x50_wipe
lf fdxb help
lf fdxb demod
lf fdxb read
lf fdxb clone
lf fdxb sim
lf gallagher help
lf gallagher demod
lf gallagher read
lf gallagher clone
lf gallagher sim
lf gproxii help
lf gproxii demod
lf gproxii read
lf gproxii clone
lf gproxii sim
lf hid help
lf hid demod
lf hid read
lf hitag help
lf hitag list
lf hitag info
lf hitag reader
lf hitag sim
lf hitag sniff
lf hitag writer
lf hitag dump
lf hitag cc
lf idteck help
lf idteck demod
lf idteck read
lf indala help
lf indala demod
lf indala altdemod
lf indala read
lf indala sim
lf io help
lf io demod
lf io read
lf io clone
lf io sim
lf io watch
lf jablotron help
lf jablotron demod
lf jablotron read
lf jablotron clone
lf jablotron sim
lf keri help
lf keri demod
lf motorola help
lf motorola demod
lf motorola sim
lf nedap help
lf nedap demod
lf nedap generate
lf nedap read
lf nedap clone
lf nedap sim
lf nexwatch help
lf nexwatch demod
lf noralsy help
lf noralsy demod
lf pac help
lf pac demod
lf paradox help
lf paradox demod
lf pcf7931 help
lf pcf7931 read
lf pcf7931 write
lf pcf7931 config
lf presco help
lf presco demod
lf pyramid help
lf pyramid demod
lf securakey help
lf securakey demod
lf ti help
lf ti demod
lf ti write
lf t55xx help
lf t55xx clonehelp
lf t55xx config
lf t55xx dangerraw
lf t55xx detect
lf t55xx deviceconfig
lf t55xx dump
lf t55xx info
lf t55xx p1detect
lf t55xx read
lf t55xx resetread
lf t55xx restore
lf t55xx trace
lf t55xx wakeup
lf t55xx write
lf t55xx bruteforce
lf t55xx chk
lf t55xx protect
lf t55xx recoverpw
lf t55xx sniff
lf t55xx special
lf t55xx wipe
lf viking help
lf viking demod
lf visa2000 help
lf visa2000 demod
mem help
mem spiffs
smart help
smart list
smart info
smart reader
smart raw
smart upgrade
smart setclock
smart brute
script help
script list
script run
trace help
usart help
usart btpin
usart btfactory
usart tx
usart rx
usart txrx
usart txhex
usart rxhex
usart config
wiegand help
wiegand list