Sha256: e50fce566d85a1d3e5112feabb09c5149a80b90a99d5cc3c794d8e21c2f0c35c
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 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' else $stderr.puts "Usage: #{File.basename($0)} [setup|login|scan-junk]" exit 1 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
osa-0.1.3 | exe/osa |
osa-0.1.2 | exe/osa |