Class: DeskSystem::GlimmerCommand

Inherits:
DevSystem::SimpleCommand show all
Defined in:
lib/desk_system/commands/glimmer_command.rb

Instance Attribute Summary

Attributes inherited from DevSystem::BaseCommand

#env

Instance Method Summary collapse

Methods inherited from DevSystem::SimpleCommand

#call, #log_simple_remember, #simple_arg, #simple_arg_ask, #simple_arg_ask_snakecase, #simple_args, #simple_boolean, #simple_boolean_no, #simple_boolean_yes, #simple_color, #simple_controller_placement, #simple_string

Methods inherited from DevSystem::BaseCommand

call, #call, get_command_signatures

Methods inherited from DevSystem::Command

call, #call, get_command_signatures

Methods inherited from Liza::Controller

color, inherited, on_connected

Methods inherited from Liza::Unit

const_missing, division, part, system, #system, test_class

Instance Method Details

#call_defaultObject

liza glimmer



5
6
7
# File 'lib/desk_system/commands/glimmer_command.rb', line 5

def call_default
  call_examples
end

#call_examplesObject

liza glimmer:examples



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/desk_system/commands/glimmer_command.rb', line 11

def call_examples
  log stick :b, system.color, "Glimmer is a free Ruby Desktop Development Cross-Platform Native GUI Library!"
  log [
    (stick :b, "Learn more at "),
    (stick :b, system.color, "https://github.com/AndyObtiva/glimmer-dsl-libui")
  ]
  
  puts
  log "args = #{env[:args].inspect}"
  # require "glimmer-dsl-libui"
  require "examples/meta_example"
  
  log "done at #{Time.now}"
end