Print records as human readable.


ndeftool print [OPTIONS]
ndeftool p [OPTIONS]


The print command outputs a formatted representation of all current NDEF Records. By default this is the one line str() representation for each record. The --long format produces multiple indented lines per record in an attempt to provide a more readable output. Printing consumes all records so that no more data is send to stdout or given to the next command. This can be changed with the --keep flag.

When given as the first command print attempts to decode an NDEF message from standard input and process the generated list of records.


-l, --long

Output in a long print format.

-k, --keep

Keep records for next command.


Show this message and exit.


Print records in short format.

Print records in long format.

Print records in both short and long format.