File: cmdline.ggo

package info (click to toggle)
libofx 1%3A0.10.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,644 kB
  • sloc: cpp: 8,101; ansic: 2,298; xml: 265; makefile: 224; sh: 43
file content (33 lines) | stat: -rw-r--r-- 1,947 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Name of your program
#package "ofxconnect"
# Version of your program
# don't use version if you're using automake
purpose "prints to stdout the created OFX file based on the options you pass it. currently it will only create a statement request file.  you can POST this to an OFX server to request a statement from that financial institution for that account."

# Options
# option <long> <short> <desc> {argtype} {typestr="<type descr>"} {default="<default value>"} {required} {argoptional} {multiple}
#section "Parameters"
option "fipid" - "FI partner identifier (looks up fid, org & url from partner server)" string no
option "fid" - "FI identifier" string no
option "org" - "FI org tag" string no
option "bank" - "IBAN bank identifier" string no
option "broker" - "Broker identifier" string no
option "user" - "User name" string no
option "pass" - "Password" string no
option "acct" - "Account ID" string no
option "type" - "Account Type 1=checking 2=invest 3=ccard" int no
option "past" - "How far back to look from today (in days)" long no
option "url" - "Url to POST the data to (otherwise goes to stdout)" string no
option "trid" - "Transaction id" int no

#section "Commands"
defgroup "command"
# groupdesc="command to exectute" (Does not work properly with gengetopt 2.10)
groupoption "statement-req"  s  "Request for a statement" group="command"
groupoption "accountinfo-req"  a  "Request for a list of accounts" group="command"
groupoption "payment-req"  p  "Request to make a payment" group="command"
groupoption "paymentinquiry-req" i "Request to inquire about the status of a payment" group="command"
groupoption "bank-list"  b  "List all known banks" group="command"
groupoption "bank-fipid"  f  "List all fipids for a given bank" group="command"
groupoption "bank-services"  v  "List supported services for a given fipid" group="command"
groupoption "allsupport"  -  "List all banks which support online banking" group="command"