Class: Luciq::AlertsCLI
- Inherits:
-
Thor
- Object
- Thor
- Luciq::AlertsCLI
- Defined in:
- lib/luciq/query_cli.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
513 514 515 |
# File 'lib/luciq/query_cli.rb', line 513 def create Commands::Query.new().alert_create end |
#delete ⇒ Object
528 529 530 |
# File 'lib/luciq/query_cli.rb', line 528 def delete Commands::Query.new().alert_delete([:ulid]) end |
#init ⇒ Object
500 501 502 |
# File 'lib/luciq/query_cli.rb', line 500 def init Commands::Query.new().alerts_init end |
#list ⇒ Object
487 488 489 |
# File 'lib/luciq/query_cli.rb', line 487 def list Commands::Query.new().alerts_list end |
#show ⇒ Object
494 495 496 |
# File 'lib/luciq/query_cli.rb', line 494 def show Commands::Query.new().alert_show([:ulid]) end |
#update ⇒ Object
521 522 523 |
# File 'lib/luciq/query_cli.rb', line 521 def update Commands::Query.new().alert_update([:ulid]) end |