Interactive Mode

You can use the command-line mode in an interactive way. Taking advantage of Jython's interactive mode, you can test commands one at a time.

To use the CLI interactively, do the following

Run:

python3 jaws.py

Once in interactive mode, for information on the available commands, type the following:

help()

To exit the help mode, do one of the following:

  • Type exit()

  • Use ^Z, return (Windows)

  • Use ^D (not Windows)

 

Either way, a brief welcome message appears followed by a prompt at which you can type a command and get an immediate result. Lines beginning with ">>>" or "..." are prompts, all other lines are status and results:

JAWS Command Line Interface

Type "help()" for descriptions on the available commands.

To exit, type "exit()" or ^Z, return (windows) or ^D (otherwise).

 

>>> login()

Eval license, 29089 days remaining

login as "admin"

done (0.0s elapsed)

 

>>> jobstreams()

['Predict4 Job 24', 'A Mkt Price 003']