lib/shopify_cli/context.rb
def load_messages(messages)
        @messages ||= {}
        @messages = @messages.merge(messages) do |key|
          Context.new.abort("Message key '#{key}' already exists and cannot be registered") if @messages.key?(key)
        end
      end
# adds a new set of messages to be used by the CLI. The messages are expected to be a hash of symbols, and
# multiple levels are allowed. When fetching messages a dot notation is used to separate different levels. See
# Context::message for more information.
#
# #### Parameters
# * `messages` - Hash containing the new keys to register
adds a new set of messages to be used by the CLI. The messages are expected to be a hash of symbols, and
multiple levels are allowed. When fetching messages a dot notation is used to separate different levels. See
Context::message for more information.

Parameters
`messages` - Hash containing the new keys to register
adds a new set of messages to be used by the CLI . The messages are expected to be a hash of symbols and multiple levels are allowed . When fetching messages a dot notation is used to separate different levels . See Context :: message for more information . Parameters ` messages ` - Hash containing the new keys to register
def load_messages(messages)
        @messages ||= {}
        @messages = @messages.merge(messages) do |key|
          Context.new.abort("Message key '#{key}' already exists and cannot be registered") if @messages.key?(key)
        end
      end
def load_messages ( messages ) @messages ||= { } @messages = @messages . merge ( messages ) do | key | Context . new . abort ( "Message key '#{key}' already exists and cannot be registered" ) if @messages . key? ( key ) end end
adds a new set of messages to be used by the CLI.
adds a new set of messages to be used by the CLI .
messages