Sha256: 4db1cba43d795b2ccaea46e204d3e848e45c71c7ef92c0c424a53b0f1feaa44e

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 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
      pass_phrase = urban.generate_phrase
      puts "Your password is #{pass_phrase}"
      puts "It was copied correctly"
    end

    default_task :generate_phrase
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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