Class: AwsLogs::CLI
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, exit_on_failure?, website
Instance Method Details
#completion(*params) ⇒ Object
26
27
28
|
# File 'lib/aws_logs/cli.rb', line 26
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#streams(log_group_name) ⇒ Object
20
21
22
|
# File 'lib/aws_logs/cli.rb', line 20
def streams(log_group_name)
Streams.new(options.merge(log_group_name: log_group_name)).run
end
|
#tail(log_group_name) ⇒ Object
12
13
14
|
# File 'lib/aws_logs/cli.rb', line 12
def tail(log_group_name)
Tail.new(options.merge(log_group_name: log_group_name)).run
end
|
#version ⇒ Object
37
38
39
|
# File 'lib/aws_logs/cli.rb', line 37
def version
puts VERSION
end
|