[GNC] gnucash-cli --quotes get

mike823 fkjasdhf878 at mailinator.com
Mon May 17 07:58:51 EDT 2021


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);
    }




--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html


More information about the gnucash-user mailing list