From dbac09405f1dede27d21f91dddc991f76e0f7438 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Jun 2010 02:52:36 -0400 Subject: Added new command: "pricemap [DATE]" This outputs the pricing relationship of commodities in your data file, as of DATE (optional), using the DOT language. If you have graphviz installed, it can be viewed quite simply using: ledger pricemap | dotty - Each relationship in the graph shows the conversion factor to exchange one commodity for another, and the date at which this factor was determined. --- src/report.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 6fa238f0..99b8781b 100644 --- a/src/report.h +++ b/src/report.h @@ -198,6 +198,7 @@ public: value_t reload_command(call_scope_t&); value_t echo_command(call_scope_t& scope); + value_t pricemap_command(call_scope_t& scope); keep_details_t what_to_keep() { bool lots = HANDLED(lots) || HANDLED(lots_actual); -- cgit v1.2.3