Sha256: 62bc14c8a3ab483f7cf5ad8ec2cc188d14cc2122910cf3f5ecf6a97dea34dfba

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

module Aocli
  module Commands
    module SaveCookie
      def self.run!(options)
        Aocli::Config.add_config(key: :cookie, value: options[:cookie])

        puts <<~MSG
          ### Cookie saved to #{Aocli::Values::CONFIG_FILE_PATH} ###

          If you ever need to reset this cookie, you can use the save cookie command again
          or simply edit that file.
        MSG
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aocli-1.5.0 lib/aocli/commands/save_cookie.rb