diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-02 06:18:13 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-02 06:18:13 +0000 |
commit | bfd87158e4e0689ffc8759459fd24386b56ab8eb (patch) | |
tree | 04dbd4d7eb34393c9a9d9360d26582516d839cdb /utils/cli/sample.lsmb | |
parent | 5986bee212e6e15328b6b9fc24072c40864b35d1 (diff) |
Mostly working CLI script host.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@461 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'utils/cli/sample.lsmb')
-rw-r--r-- | utils/cli/sample.lsmb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/utils/cli/sample.lsmb b/utils/cli/sample.lsmb index 62b67fb0..6344c89f 100644 --- a/utils/cli/sample.lsmb +++ b/utils/cli/sample.lsmb @@ -1,7 +1,6 @@ -# THe below line shows how to set the PGUSER environment variable -ENV:PGUSER=postgres -login=demo # set username -password=demo # set password -LOGIN -MODULE AR # load AR -CALL AR::transactions(\%$form); +ENV:PGUSER = postgres # how to set an environment variable +login = demo # How to set a form variable +password = demo +LOGIN # Log in +MODULE AR # Load a module +CALL AR::transactions(form, user) # call a function |