Class: Gitloggl::Commands::ManageIntegration
- Inherits:
-
Gitloggl::Command
- Object
- Gitloggl::Command
- Gitloggl::Commands::ManageIntegration
- Defined in:
- lib/gitloggl/commands/manage_integration.rb
Instance Attribute Summary
Attributes inherited from Gitloggl::Command
Instance Method Summary collapse
Methods inherited from Gitloggl::Command
#back?, #capture_back, #command, #config, #cursor, #editor, #exec_exist?, #generator, #initialize, #menu_back, #pager, #pastel, #platform, #prompt, #render_table, #screen, #verbose?, #which
Constructor Details
This class inherits a constructor from Gitloggl::Command
Instance Method Details
#execute ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/gitloggl/commands/manage_integration.rb', line 6 def execute puts render_table(table) prompt.select('Manage toggle -> gitlab integrations') do || .enum ')' () .choice 'Add', -> { add } .choice 'Remove', -> { remove } end end |