[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command Line Interface -- AP Transactions



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