class Rails::Engine::Updater

def generator

def generator
  @generator ||= Rails::Generators::PluginGenerator.new ["plugin"],
    { engine: true }, { destination_root: ENGINE_ROOT }
end

def run(action)

def run(action)
  generator.public_send(action)
end