Class: CliInit

Inherits:
Gloo::Plugin::Base
  • Object
show all
Defined in:
lib/gloo-cli.rb

Overview

Registers the extension.

Instance Method Summary collapse

Instance Method Details

#register(callback) ⇒ Object

Register verbs and objects.



26
27
28
29
30
31
32
33
34
35
# File 'lib/gloo-cli.rb', line 26

def register( callback )
  callback.register_obj( CliColorize )
  callback.register_obj( CliConfirm )
  callback.register_obj( Menu )
  callback.register_obj( MenuItem )
  callback.register_obj( Prompt )
  callback.register_obj( Select )
  callback.register_obj( Shell )
  callback.register_obj( Command )
end