Method: Jets::CLI#namespace

Defined in:
lib/jets/cli.rb

#namespaceObject



149
150
151
152
153
154
155
156
157
# File 'lib/jets/cli.rb', line 149

def namespace
  return nil unless full_command

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