Last login: Tue Dec 31 15:24:15 on console
kcburns@Mac001 ~ % /Applications/GnuCash.app/Contents/MacOS/gnucash-cli -Q get
/Users/kcburns/GnuCash/KCBurns.gnucash

Application Path /Applications/GnuCash.app/Contents/MacOS/gnucash-cli
Missing data file parameter

gnucash-cli [options] [datafile] - GnuCash, accounting for personal and small business finance:

Common Options:
  -h [ --help ]          Show this help message
  -v [ --version ]       Show GnuCash version
  --debug                Enable debugging mode: provide deep detail in the
                         logs.
                         This is equivalent to: --log "=info" --log "qof=info"
                         --log "gnc=info"
  --extra                Enable extra/development/debugging features.
  --log arg              Log level overrides, of the form
                         "modulename={debug,info,warn,crit,error}"
                         Examples: "--log qof=debug" or "--log
                         gnc.backend.file.sx=info"
                         This can be invoked multiple times.
  --paths                Show paths
  --logto arg            File to log into; defaults to "/tmp/gnucash.trace";
                         can be "stderr" or "stdout".

Price Quotes Retrieval Options:
  -Q [ --quotes ] arg    Execute price quote related commands. The following
                         commands are supported.

                           info: Show Finance::Quote version and exposed quote
                                 sources.
                            get: Fetch current quotes for all foreign
                                 currencies and stocks in the given GnuCash
                                 datafile.
                           dump: Fetch current quotes for specified currencies                                  or stocks from a specified namespace and print
                                 the results to the console.
                                 This must be followed with a source and one or                                  more symbols, unless the source is "currency"                                  in which case it must be followed with two or
                                 more symbols, the first of which is the
                                 currency in which exchange rates for the rest
                                 will be quoted.

  --namespace arg        Regular expression determining which namespace
                         commodities will be retrieved for when using the get
                         command
  -V [ --verbose ]       When using the dump command list all of the parameters                          Finance::Quote returns for the symbol instead of the
                         ones that Gnucash requires.

Report Generation Options:
  -R [ --report ] arg    Execute report related commands. The following
                         commands are supported.

                           list: Lists available reports.
                           show: Describe the options modified in the named
                                 report. A datafile may be specified to
                                 describe some saved options.
                           run: Run the named report in the given GnuCash
                                datafile.

  --name arg             Name of the report to run

  --export-type arg      Specify export type

  --output-file arg      Output file for report


zsh: exec format error: /Users/kcburns/GnuCash/KCBurns.gnucash
kcburns@Mac001 ~ %





On 12/31/24 10:48 AM, gnucash-user-requ...@gnucash.org wrote:
/Applications/GnuCash.app/Contents/MacOS/gnucash-cli -Q get
/Users/kcburns/GnuCash/KCBurns.gnucash
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to