JBASMP-42] Use the Command-Line API to handle the commands

Use the Command-Line API to handle the commands rather than converting them to operations.