class Generators::Avo::InstallGenerator

def create_resources

def create_resources
  if defined?(User).present?
    Rails::Generators.invoke("avo:resource", ["user", "-q"], {destination_root: Rails.root })
  end
  if defined?(Account).present?
    Rails::Generators.invoke("avo:resource", ["account", "-q"], {destination_root: Rails.root })
  end
end