Method: Jets::CLI#namespace

Defined in:
lib/jets/cli.rb

#namespaceObject



154
155
156
157
158
159
160
161
162
# File 'lib/jets/cli.rb', line 154

def namespace
  return nil unless full_command

  if full_command.include?(':')
    words = full_command.split(':')
    words.pop
    words.join(':')
  end
end