Class: Sambot::Commands::Workstation

Inherits:
Thor
  • Object
show all
Defined in:
lib/sambot/commands/workstation.rb

Constant Summary collapse

Runtime =
Sambot::Domain::Common::Runtime

Instance Method Summary collapse

Instance Method Details

#configureObject



11
12
13
14
15
16
17
# File 'lib/sambot/commands/workstation.rb', line 11

def configure
  Runtime.ensure_latest
  username = ask(" What is your DEV/QE Active Directory username i.e. john.smith? ")
  Domain::Workstation.configure(username)
rescue ApplicationError => e
  error(e.message)
end