We want to use the pattern of having a command line flag for each operation in more tools, so extract the logic which finds the selected operation from the command line arguments into a function.
We want to use the pattern of having a command line flag for each operation in more tools, so extract the logic which finds the selected operation from the command line arguments into a function.