How to run a command line with sanic

Is there a way to embed python click to an instance of sanic.Sanic “app.cli” (like in flask) in order to run command lines ?

See: Running handlers from Click


LMK if this is what you are looking for, or if you have further questions/issues.