eyeonus / EDDBlink

(No longer maintained) A plugin for TradeDangerous to update market data using EDDB's api files.
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Feature Request -O help #10

Closed Tromador closed 6 years ago

Tromador commented 6 years ago

Can you include a basic help (list of options, exactly as in the readme.md would be perfect).

e.g.

$ ./trade.py import -P eddblink -O help
Available Options - 
'item':         "Regenerate Categories and Items using latest commodities.json dump.",
'system':       "Regenerate Systems using latest system-populated.jsonl dump.",
'station':      "Regenerate Stations using latest stations.jsonl dump. (implies '-O system')",
'ship':         "Regenerate Ships using latest coriolis.io json dump.",
'shipvend':     "Regenerate ShipVendors using latest stations.jsonl dump. (implies '-O system,station,ship')",
'upgrade':      "Regenerate Upgrades using latest modules.json dump.",
'upvend':       "Regenerate UpgradeVendors using latest stations.jsonl dump. (implies '-O system,station,upgrade')",
'listings':     "Update market data using latest listings.csv dump. (implies '-O item,system,station')",
'all':          "Update everything with latest dumpfiles. (Regenerates all tables)",
'clean':        "Erase entire database and rebuild from empty. (Regenerates all tables.)",
'skipvend':     "Don't regenerate ShipVendors or UpgradeVendors. Supercedes '-O all', '-O clean'.",
'force':        "Force regeneration of selected items even if source file not updated since previous run. "
                    "(Useful for updating Vendor tables if they were skipped during a '-O clean' run.)",
'fallback':     "Fallback to using EDDB.io if Tromador's mirror isn't working.",
'progbar':      "USe '[=   ]' progress instead of '(125/500) 25%'"
eyeonus commented 6 years ago

TD is supposed to do that already but it errors for some reason, no idea why.

Tromador commented 6 years ago

Ah. I saw the error and figured not implemented.

eyeonus commented 6 years ago

No, I just haven't gotten around to figuring out why it doesn't work.

Tromador commented 6 years ago

Fair enough... then please assume op rewritten as "please fix" :p

eyeonus commented 6 years ago

https://github.com/eyeonus/Trade-Dangerous/issues/18