module Dawn::CLI::Local

Public Class Methods

health_check() click to toggle source

“verify if server is running”

# File lib/dawn/cli/commands/local.rb, line 11
def self.health_check
  Dawn::API.health_check
  say "All is well"
end
whoami() click to toggle source

“print current username to console”

# File lib/dawn/cli/commands/local.rb, line 19
def self.whoami
  account = Dawn::Account.current
  say account.username
end