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.



21
22
23
24
25
26
27
28
# File 'lib/gloo-cli.rb', line 21

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 )
end