Updated examples documentation.

This commit is contained in:
Franco Masotti 2020-07-10 17:28:04 +02:00
parent 8d4581459a
commit 68af880126
Signed by: frnmst
GPG Key ID: 24116ED85666780A
1 changed files with 18 additions and 27 deletions

View File

@ -4,49 +4,40 @@ Examples
CLI
---
Invoices
````````
You want everything, you trust nothing
``````````````````````````````````````
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
$ fattura_elettronica_reader -A ${metadata_file}
which is the same as
::
$ fattura_elettronica_reader -H -a -o ${metadata_file}
$ fattura_elettronica_reader invoice --extract-attachments --generate-html-output p7m --keep-original-file ${metadata_file}
You want everything, you trust everything
`````````````````````````````````````````
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
$ fattura_elettronica_reader -SsAkwW ${metadata_file}
which is the same as
::
$ fattura_elettronica_reader -H -a -o -S -s -w -W ${metadata_file}
$ fattura_elettronica_reader invoice --extract-attachments --generate-html-output p7m --keep-original-file --ignore-signature-check --ignore-signers-certificate-check ${metadata_file}
You need to extract a plain (non-signed) invoice file
`````````````````````````````````````````````````````
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
$ fattura_elettronica_reader -b -H ${metadata_file}
$ fattura_elettronica_reader invoice --extract-attachments --generate-html-output plain ${metadata_file}
Generic P7M files
`````````````````
You want everything, you trust nothing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ fattura_elettronica_reader generic --keep-original-file ${p7m_file}