Sha256: ea62acb9b465dcae43f54c15a8c2e5003878e68d961187e5f911055c6046550f
Contents?: true
Size: 510 Bytes
Versions: 4
Compression:
Stored size: 510 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'osa/services/setup_service' require 'osa/services/auth_service' cmd = $ARGV.shift case cmd when 'setup' OSA::SetupService.new.setup! when 'login' OSA::AuthService.login(OSA::Config.first || OSA::Config.new) when 'scan-junk' require 'osa/scripts/scan_junk_folder' when 'dashboard' require 'osa/scripts/dashboard_server' DashboardServer.start! else $stderr.puts "Usage: #{File.basename($0)} [setup|login|scan-junk|dashboard]" exit 1 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
osa-0.2.3 | exe/osa |
osa-0.2.2 | exe/osa |
osa-0.2.1 | exe/osa |
osa-0.2.0 | exe/osa |