1# Name of your program
2#package "ofxconnect"
3# Version of your program
4# don't use version if you're using automake
5purpose "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."
6
7# Options
8# option <long> <short> <desc> {argtype} {typestr="<type descr>"} {default="<default value>"} {required} {argoptional} {multiple}
9#section "Parameters"
10option "fipid" - "FI partner identifier (looks up fid, org & url from partner server)" string no
11option "fid" - "FI identifier" string no
12option "org" - "FI org tag" string no
13option "bank" - "IBAN bank identifier" string no
14option "broker" - "Broker identifier" string no
15option "user" - "User name" string no
16option "pass" - "Password" string no
17option "acct" - "Account ID" string no
18option "type" - "Account Type 1=checking 2=invest 3=ccard" int no
19option "past" - "How far back to look from today (in days)" long no
20option "url" - "Url to POST the data to (otherwise goes to stdout)" string no
21option "trid" - "Transaction id" int no
22
23#section "Commands"
24defgroup "command"
25# groupdesc="command to exectute" (Does not work properly with gengetopt 2.10)
26groupoption "statement-req"  s  "Request for a statement" group="command"
27groupoption "accountinfo-req"  a  "Request for a list of accounts" group="command"
28groupoption "payment-req"  p  "Request to make a payment" group="command"
29groupoption "paymentinquiry-req" i "Request to inquire about the status of a payment" group="command"
30groupoption "bank-list"  b  "List all known banks" group="command"
31groupoption "bank-fipid"  f  "List all fipids for a given bank" group="command"
32groupoption "bank-services"  v  "List supported services for a given fipid" group="command"
33groupoption "allsupport"  -  "List all banks which support online banking" group="command"
34