Sha256: 74eceb5c85624e68ddf59de608b0576330c27ab3e9e38cc6332a66d66290c8d1

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require "thor"
require "urban_pass/generate"

module UrbanPass
  class CLI < Thor

    desc "generate_phrase", "creates a new pass-phrase"
    def generate_phrase
      urban = UrbanPass::Generate.new
      urban.generate_phrase
    end
    default_task :generate_phrase
    # if ARGV.empty?
    #   UrbanPass::CLI.new.generate_phrase
    # end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urban_pass-0.0.4 lib/urban_pass/cli.rb