I couldn't figure out how to bind commands to functions

I have a python class which has multiple methods, I was trying to make CLI script where a user can type a command it will execute the function with associated parameters. I read argpaerae but I couldn't figure out how to bind commands to functions
You already invited:

bradtaniguchi

Upvotes from:

The fact you have a class shouldn't matter, the class in this use-case really is just a container for functions. Setup an if-else or hash-map of commands to functions in the class.

If you wanna answer this question please Login or Register