Class: Luciq::CrashesCLI
- Inherits:
-
Thor
- Object
- Thor
- Luciq::CrashesCLI
- Defined in:
- lib/luciq/query_cli.rb
Constant Summary collapse
- SORT_FIELDS =
%w[last_occurred_at occurrences_counter affected_users_counter max_app_version min_app_version severity first_occurred_at].freeze
Instance Method Summary collapse
- #diagnostics ⇒ Object
- #hangs ⇒ Object
- #list ⇒ Object
- #occurrence ⇒ Object
- #occurrence_tokens ⇒ Object
- #patterns ⇒ Object
- #show ⇒ Object
Instance Method Details
#diagnostics ⇒ Object
100 101 102 |
# File 'lib/luciq/query_cli.rb', line 100 def diagnostics Commands::Query.new().crash_diagnostics([:number]) end |
#hangs ⇒ Object
125 126 127 |
# File 'lib/luciq/query_cli.rb', line 125 def hangs Commands::Query.new().app_hangs end |
#list ⇒ Object
64 65 66 |
# File 'lib/luciq/query_cli.rb', line 64 def list Commands::Query.new().crashes_list end |
#occurrence ⇒ Object
155 156 157 |
# File 'lib/luciq/query_cli.rb', line 155 def occurrence Commands::Query.new().occurrence_details([:number], [:ulid]) end |
#occurrence_tokens ⇒ Object
147 148 149 |
# File 'lib/luciq/query_cli.rb', line 147 def occurrence_tokens Commands::Query.new().occurrence_tokens([:number]) end |
#patterns ⇒ Object
93 94 95 |
# File 'lib/luciq/query_cli.rb', line 93 def patterns Commands::Query.new().crash_patterns([:number]) end |
#show ⇒ Object
71 72 73 |
# File 'lib/luciq/query_cli.rb', line 71 def show Commands::Query.new().crash_show([:number]) end |