Class: Luciq::IncidentsCLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/luciq/query_cli.rb

Instance Method Summary collapse

Instance Method Details

#listObject



554
555
556
# File 'lib/luciq/query_cli.rb', line 554

def list
  Commands::Query.new(options).incidents_list
end

#reopenObject



575
576
577
# File 'lib/luciq/query_cli.rb', line 575

def reopen
  Commands::Query.new(options).incident_reopen(options[:ulid])
end

#resolveObject



568
569
570
# File 'lib/luciq/query_cli.rb', line 568

def resolve
  Commands::Query.new(options).incident_resolve(options[:ulid])
end

#showObject



561
562
563
# File 'lib/luciq/query_cli.rb', line 561

def show
  Commands::Query.new(options).incident_show(options[:ulid])
end