Class: Luciq::AlertsCLI

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

Instance Method Summary collapse

Instance Method Details

#createObject



513
514
515
# File 'lib/luciq/query_cli.rb', line 513

def create
  Commands::Query.new(options).alert_create
end

#deleteObject



528
529
530
# File 'lib/luciq/query_cli.rb', line 528

def delete
  Commands::Query.new(options).alert_delete(options[:ulid])
end

#initObject



500
501
502
# File 'lib/luciq/query_cli.rb', line 500

def init
  Commands::Query.new(options).alerts_init
end

#listObject



487
488
489
# File 'lib/luciq/query_cli.rb', line 487

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

#showObject



494
495
496
# File 'lib/luciq/query_cli.rb', line 494

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

#updateObject



521
522
523
# File 'lib/luciq/query_cli.rb', line 521

def update
  Commands::Query.new(options).alert_update(options[:ulid])
end