1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-07-14 15:41:09 +03:00

Updated Running from source (markdown)

Jonathan Harris 2015-11-07 13:14:59 +00:00
parent 84f190cac3
commit 5cc2d92c38

@ -19,6 +19,35 @@ Linux:
* Run with `./EDMarketConnector.py` .
Command-line
--------
The command-line program `EDMC.py` writes the current system and station (if docked) to stdout and optionally
writes ship loadout and/or station data to file. This program requires that the user has performed [setup](Installation & Setup) and verification through the app.
Arguments:
```
-h, --help show this help message and exit
-v, --version print program version and exit
-c FILE write ship loadout to FILE in Coriolis json format
-e FILE write ship loadout to FILE in E:D Shipyard format
-m FILE write station commodity market data to FILE in CSV format
-o FILE write station outfitting data to FILE in CSV format
-s FILE write station shipyard data to FILE in CSV format
```
The program returns one of the following exit codes. Further information may be written to stderr.
<ol start="0">
<li>Success. Note that this doesn't necessarily mean that any requested output files have been produced - for example if the current station doesn't support the facilities for which data was requested.</li>
<li>Server is down.</li>
<li>Invalid Credentials.</li>
<li>Verification Required.</li>
<li>Not docked. You have requested station data but the user is not docked at a station.</li>
<li>I/O or other OS error.</li>
</ol>
Packaging for distribution
--------