Sha256: 26663ed4716b1c9e92c1305939bf06e4ecf9163b9d854218bbdd474e924c1384
Contents?: true
Size: 746 Bytes
Versions: 16
Compression:
Stored size: 746 Bytes
Contents
# frozen_string_literal: true module Command class Logs < Base NAME = "logs" OPTIONS = [ app_option(required: true), workload_option ].freeze DESCRIPTION = "Light wrapper to display tailed raw logs for app/workload syntax" LONG_DESCRIPTION = <<~DESC - Light wrapper to display tailed raw logs for app/workload syntax DESC EXAMPLES = <<~EX ```sh # Displays logs for the default workload (`one_off_workload`). cpl logs -a $APP_NAME # Displays logs for a specific workload. cpl logs -a $APP_NAME -w $WORKLOAD_NAME ``` EX def call workload = config.options[:workload] || config[:one_off_workload] cp.logs(workload: workload) end end end
Version data entries
16 entries across 16 versions & 1 rubygems