Agent Bus 001 - jmadison222/knowledge GitHub Wiki
| Home |
-
Linux is the operating system
-
Python is the programming language.
-
Invocation is from the command line.
-
The invocation from the command line is done with "python agent-bus.py"
-
Some number of parameters may be passed on the command line.
-
The first parameter is the name of an operation.
-
The second parameter is an operand of the operation stated in the first parameter.
-
The third parameter is an operand of the operation stated in the first parameter.
-
If the operation in the first parameter is "multiply" return the product of the second and third parameters.
-
If the operation in the first parameter is "add" return the sum of the second and third parameters.
-
Exit the program after showing the result of the operation on the screen.