Sha256: dc1caee236d8eb964de763b7780eeaf8e53778f8a7f9e55a6ccd0b8659f14583

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

require 'thor'
require 'augury'

module Augury
  class CLI < Thor
    desc 'generate USERNAME', 'Generate a fortune file for the given username'
    def generate(username)
      augury = Augury::Fortune.new
      puts augury.tweet_texts(username)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
augury-0.1.0 lib/augury/cli.rb