Module: Aocli::Commands::SaveCookie
- Defined in:
- lib/aocli/commands/save_cookie.rb
Class Method Summary collapse
Class Method Details
.run!(options) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/aocli/commands/save_cookie.rb', line 4 def self.run!() Aocli::Config.add_config(key: :cookie, value: [: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 |