Class: KuberKit::UI
Defined Under Namespace
Classes: Interactive, Simple, TaskGroup
Instance Method Summary collapse
Instance Method Details
#create_task(title, &block) ⇒ Object
15 16 17 |
# File 'lib/kuber_kit/ui.rb', line 15 def create_task(title, &block) CLI::UI::Spinner.spin(title, &block) end |
#create_task_group ⇒ Object
11 12 13 |
# File 'lib/kuber_kit/ui.rb', line 11 def create_task_group TaskGroup.new end |
#init ⇒ Object
7 8 9 |
# File 'lib/kuber_kit/ui.rb', line 7 def init ::CLI::UI::StdoutRouter.enable end |