Class: Gzr::Commands::Model

Inherits:
SubCommandBase show all
Defined in:
lib/gzr/commands/model.rb,
lib/gzr/commands/model/ls.rb

Defined Under Namespace

Classes: Ls

Instance Method Summary collapse

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#lsObject



41
42
43
44
45
46
47
48
# File 'lib/gzr/commands/model.rb', line 41

def ls(*)
  if options[:help]
    invoke :help, ['ls']
  else
    require_relative 'model/ls'
    Gzr::Commands::Model::Ls.new(options).execute
  end
end