Class: Gzr::Commands::Connection
- Inherits:
-
SubCommandBase
show all
- Defined in:
- lib/gzr/commands/connection.rb,
lib/gzr/commands/connection/ls.rb,
lib/gzr/commands/connection/dialects.rb
Defined Under Namespace
Classes: Dialects, Ls
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#dialects ⇒ Object
41
42
43
44
45
46
47
48
|
# File 'lib/gzr/commands/connection.rb', line 41
def dialects(*)
if options[:help]
invoke :help, ['dialects']
else
require_relative 'connection/dialects'
Gzr::Commands::Connection::Dialects.new(options).execute
end
end
|
#ls ⇒ Object
59
60
61
62
63
64
65
66
|
# File 'lib/gzr/commands/connection.rb', line 59
def ls(*)
if options[:help]
invoke :help, ['ls']
else
require_relative 'connection/ls'
Gzr::Commands::Connection::Ls.new(options).execute
end
end
|