How do I import currencies?

Table of Contents

Import currencies into the database via ores.cli from ORE XML files. See the CLI inventory for sibling recipes.

Question

How do I import currencies?

Answer

Import single file

export ORES_CLI_DB_PASSWORD
./ores.cli refdata currencies import ${db_args} ${log_args} \
  --target ${data_dir}/currencies_API.xml
"currencies_API.xml": Imported a total of 178 currencies.

Import multiple files

export ORES_CLI_DB_PASSWORD
./ores.cli refdata currencies import ${db_args} ${log_args} \
  --target ${data_dir}/currencies_API.xml \
  --target ${data_dir}/currencies_42.xml
"currencies_API.xml": Imported a total of 178 currencies.
"currencies_42.xml": Imported a total of 2 currencies.

Emacs 29.3 (Org mode 9.6.15)