Module: Teems::Commands::AuthTokenInput

Included in:
Auth
Defined in:
lib/teems/commands/auth.rb

Overview

Token input methods for manual token entry and file import

Instance Method Summary collapse

Instance Method Details

#set_tokensObject



30
31
32
33
34
35
# File 'lib/teems/commands/auth.rb', line 30

def set_tokens
  file_path = positional_args[1]
  return import_tokens_from_file(file_path) if file_path

  prompt_and_save_tokens
end