method

invoke

invoke(namespace, args = ARGV, config = {})
public

Receives a namespace, arguments and the behavior to invoke the generator. It’s used as the default entry point for generate, destroy and update commands.