.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.10. .TH BEAN-PRICE "1" "April 2019" "bean-price 2.2.0" "User Commands" .SH NAME bean-price \- fetch from the internet commodity prices for Beancount processing .SH DESCRIPTION usage: bean\-price [\-h] [\-\-version] [\-e] [\-v] [\-d DATE] [\-i] [\-u UNDECLARED] .IP [\-c] [\-a] [\-s] [\-n] [\-\-cache CACHE_FILENAME] [\-\-no\-cache] [\-\-clear\-cache] sources [sources ...] .PP Fetch prices from the internet and output them as Beancount price directives. .SS "positional arguments:" .TP sources A list of filenames (or source "module/symbol", if \fB\-e\fR is specified) from which to create a list of jobs. .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-version\fR, \fB\-V\fR show program's version number and exit .TP \fB\-e\fR, \fB\-\-expressions\fR, \fB\-\-expression\fR Interpret the arguments as "module/symbol" source strings. .TP \fB\-v\fR, \fB\-\-verbose\fR Print out progress log. Specify twice for debugging info. .TP \fB\-d\fR DATE, \fB\-\-date\fR DATE Specify the date for which to fetch the prices. .TP \fB\-i\fR, \fB\-\-inactive\fR Select all commodities from input files, not just the ones active on the date .TP \fB\-u\fR UNDECLARED, \fB\-\-undeclared\fR UNDECLARED Include commodities viewed in the file even without a corresponding Commodity directive, from this default source. The currency name itself is used as the lookup symbol in this default source. .TP \fB\-c\fR, \fB\-\-clobber\fR Do not skip prices which are already present in input files; fetch them anyway. .TP \fB\-a\fR, \fB\-\-all\fR A shorthand for \fB\-\-inactive\fR, \fB\-\-undeclared\fR, \fB\-\-clobber\fR. .TP \fB\-s\fR, \fB\-\-swap\-inverted\fR For inverted sources, swap currencies instead of inverting the rate. For example, if fetching the rate for CAD from 'USD:google/^CURRENCY:USDCAD' results in 1.25, by default we would output "price CAD 0.8000 USD". Using this option we would instead output " price USD 1.2500 CAD". .TP \fB\-n\fR, \fB\-\-dry\-run\fR Don't actually fetch the prices, just print the list of the ones to be fetched. .SS "cache:" .TP \fB\-\-cache\fR CACHE_FILENAME Enable the cache and with the given cache name. .TP \fB\-\-no\-cache\fR Disable the price cache. .TP \fB\-\-clear\-cache\fR Clear the cache prior to startup