lib/habitica_cli/main.rb in habitica_cli-1.0.1 vs lib/habitica_cli/main.rb in habitica_cli-1.0.2

- old
+ new

@@ -2,13 +2,11 @@ # At the moment this holds _all_ tasks # until we can figure out a better way to split # out top level tasks into individual files # (thor's DSL makes that a little bit of a chore) class Main < Thor - # rubocop:disable Metrics/LineLength - class_option :habit_user, hide: true, aliases: '--habit-user', default: ENV['HABIT_USER'] - class_option :habit_key, hide: true, aliases: '--habit-key', default: ENV['HABIT_KEY'] - # rubocop:enable Metrics/LineLength + class_option :habit_user, hide: true, aliases: '--habit-user' + class_option :habit_key, hide: true, aliases: '--habit-key' def initialize(*args) super(*args) @cache = cache @options = options