lib/aws_logs/cli.rb in aws-logs-0.1.0 vs lib/aws_logs/cli.rb in aws-logs-0.2.0

- old
+ new

@@ -7,11 +7,11 @@ option :format, default: "detailed", desc: "The format to display the logs. IE: detailed or short. With detailed, the log stream name is also shown." option :log_stream_names, type: :array, desc: "Filters the results to only logs from the log streams. Can only use log_stream_names or log_stream_name_prefix but not both." option :log_stream_name_prefix, desc: "Filters the results to include only events from log streams that have names starting with this prefix. Can only use log_stream_names or log_stream_name_prefix but not both." option :filter_pattern, desc: "The filter pattern to use. If not provided, all the events are matched" option :follow_until, desc: "Exit out of the follow loop once this text is found." - def tail(log_group) - Tail.new(options.merge(log_group: log_group)).run + def tail(log_group_name) + Tail.new(options.merge(log_group_name: log_group_name)).run end desc "completion *PARAMS", "Prints words for auto-completion." long_desc Help.text(:completion) def completion(*params)