> On May 17, 2021, at 4:58 AM, mike823 <fkjasdhf...@mailinator.com> wrote:
>
> I might do it. I am looking in gnucash/gnucash-cli.cpp and I see the code
> bellow in Gnucash::GnucashCli::start . Is another developer already working
> on the same functionality?
>
>
>
> if (m_quotes_cmd)
> {
> if (*m_quotes_cmd != "get")
> {
> std::cerr << bl::format (bl::translate("Unknown quotes command
> '{1}'")) % *m_quotes_cmd << "\n\n"
> << *m_opt_desc_display.get();
> return 1;
> }
>
> if (!m_file_to_load || m_file_to_load->empty())
> {
> std::cerr << bl::translate("Missing data file parameter") <<
> "\n\n"
> << *m_opt_desc_display.get();
> return 1;
> }
> else
> return Gnucash::add_quotes (m_file_to_load);
> }
>
Not that I know of, but don't overload --get-quotes, write a new command named
something like --import-quotes and have it call the same function that
File>Import>Import Prices from a CSV File does.
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.