Sha256: 28444a63a68b1dd799315e94210ffa0ccb7ebc430116a78cb356e07d56f943ca

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

#!/usr/bin/env ruby

require 'fourteeninch'


case ARGV[0]
when '-v', '--version', 'version'
  puts Fourteeninch::VERSION
when '-h', '--help', 'help'
  puts Fourteeninch::Screens.uses
when 'login'
  Fourteeninch::Auth.auth(true)
when 'logout'
  Fourteeninch::Auth.logout
when 'core'
  Fourteeninch::Core.core
else
  puts "`#{ARGV[0]}` command not found.\n" if ARGV[0]
  puts Fourteeninch::Screens.uses
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fourteeninch-0.1.0 exe/fourteeninch.rb