namespace :orchestrator do
  namespace :info do
    # TODO: Fix method call arg
    # desc 'EKS App ALB Hostname'
    # task :eks_apps_alb_hostname do
    #   Orchestrator::ConsoleOutputs.header
    #   Orchestrator::ConsoleOutputs.sub_header('EKS App ALB Hostname')
    #   alb_hostname = Orchestrator::Terraform::Info.eks_apps_alb_hostname
    #   Orchestrator::ConsoleOutputs.message_item('EKS App ALB Hostname', alb_hostname)
    # end

    desc 'Display Network Info'
    task :network do
      Orchestrator::ConsoleOutputs.header
      Orchestrator::Info.network
    end

    desc 'Display Stack Summary'
    task :summary do
      Orchestrator::ConsoleOutputs.header
      Orchestrator::Info.summary
    end
  end
end

desc 'Alias (orchestrator:info:summary)'
task info: %w[orchestrator:info:summary]

# desc 'Alias (orchestrator:info:eks_apps_alb_hostname)'
# task info_eks_alb_hostname: %w[orchestrator:info:eks_apps_alb_hostname]

desc 'Alias (orchestrator:info:network)'
task info_network: %w[orchestrator:info:network]
