Method: Lono::Completer#thor_group_command?

Defined in:
lib/lono/completer.rb

#thor_group_command?Boolean

hacky way to detect that command is a registered Thor::Group command

Returns:

  • (Boolean)


108
109
110
# File 'lib/lono/completer.rb', line 108

def thor_group_command?
  command_params(raw=true) == [[:rest, :args]]
end