How to add my own generator and use him through console?

I mean this:

"gii": {
    "class" : "yii\\gii\\Module",
    "generators" : {
      "isindaController": {
        "class": "backend\\templates\\controller\\Generator",
        "templates": {
          "myController": "@backend/templates/controller/default"

Adding this generator and templatw for him only in web version. But if i typed in console this command → php yii gii/isindaController
And press enter, than there is must be an error that say “–controllerClass must be set bla bla”, but i get this error: Unknown command: gii/isindaController
Caused by: Exception ‘yii\base\InvalidRouteException’ with message ‘Unable to resolve the request: gii/isindaController’