Class: TFA::UsageCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/tfa/usage_command.rb

Instance Method Summary collapse

Constructor Details

#initialize(storage) ⇒ UsageCommand



3
4
5
# File 'lib/tfa/usage_command.rb', line 3

def initialize(storage)
  @storage = storage
end

Instance Method Details

#run(arguments) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/tfa/usage_command.rb', line 7

def run(arguments)
  "Try:\n  - tfa add develoment <secret>\n  - tfa show development\n  - tfa totp development\n  MESSAGE\nend\n"