File: oauth

package info (click to toggle)
ruby-oauth 0.5.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 584 kB
  • sloc: ruby: 4,070; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby

require_relative "../lib/oauth"
require 'oauth/cli'

Signal.trap("INT") { puts; exit(1) } # don't dump a backtrace on a ^C

ARGV << 'help' if ARGV.empty?
command = ARGV.shift

OAuth::CLI.new(STDOUT, STDIN, STDERR, command, ARGV).run