[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command Line Interface -- AP Transactions
- Subject: Re: Command Line Interface -- AP Transactions
- From: "Chris Travers" <..hidden..>
- Date: Fri, 22 Sep 2006 12:38:54 -0700
Well, the largest problem is that the input and output are both
somewhat complex.
Here is what I am thinking-- the actual application reads arguments
from stdin and prints arguments to stdout. Thus you feed the
application key-value strings (like login=username) and these get
translated into form variables. Then two special ones are used:
module and method.
For example:
login=myuser
password=mypasswd
...
module=AR
method=list_transactions
This might print out something like:
transaction_id1=10256
customer1=My Customer
invnumber1=1001
...
Does that sound usable?
Any better ideas?
Best Wishes,
Chris Travers