All the examples are written for the windows version.
Extract a BW/4HANA system
DataLineage.cmd extract-all -s A4H
Extract a S/4HANA System
DataLineage.cmd extract-all --bw false --embedded-analytics true -s S4B
Extract a S/4HANA System with ABAP relation
DataLineage.cmd extract-all --bw false --embedded-analytics true --abap-relations true -s S4B
Extract a HANA database
DataLineage.cmd extract-all -b HDB
Extract a SAC tenant
DataLineage.cmd extract-all --sac-url https://mySacUrl.org
Extract a Datasphere tenant
DataLineage.cmd extract-all --dsp-url https://myDatasphereUrl.org