Module: Fargo::CLI::Stats

Included in:
Console
Defined in:
lib/fargo/cli/stats.rb

Instance Method Summary collapse

Instance Method Details

#statusObject



5
6
7
8
9
10
11
12
# File 'lib/fargo/cli/stats.rb', line 5

def status
  puts "User count: #{client.nicks.size}"
  puts "Shared Directories:"
  client.shared_directories.each do |dir|
    puts "\t#{dir}"
  end
  puts "Sharing: #{humanize_bytes(client.share_size)}"
end