Class: SwissAdmin::Commands::User

Inherits:
Thor
  • Object
show all
Defined in:
lib/swiss_admin/cli/user_cli.rb

Instance Method Summary collapse

Instance Method Details

#activeObject



18
19
20
# File 'lib/swiss_admin/cli/user_cli.rb', line 18

def active
  $stdout.puts SwissAdmin::User.active[:output]
end

#currentObject



8
9
10
# File 'lib/swiss_admin/cli/user_cli.rb', line 8

def current
  $stdout.puts SwissAdmin::User.current
end

#homeObject



13
14
15
# File 'lib/swiss_admin/cli/user_cli.rb', line 13

def home
  $stdout.puts SwissAdmin::User.home
end