Sha256: 80974f0fe8d78fc18fc0bff5e9e09fe207e18e1fefb4badbc47e88be68a4e8d1
Contents?: true
Size: 703 Bytes
Versions: 7
Compression:
Stored size: 703 Bytes
Contents
# Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # You can redistribute it and/or modify it under the terms of the GNU GPL 2. =begin $LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..' require 'qwik/config' require 'qwik/password' module Qwik class IncrementGeneration def self.main(argv) if argv.length == 0 puts 'usage: qwikweb-incgen [mailaddress]' exit end config = Config.new gen = PasswordGenerator.new(config) mail = argv.shift g = gen.generation_inc(mail) puts 'mail: '+mail puts 'generation: '+g.to_s puts 'increment generation done.' end end end =end
Version data entries
7 entries across 7 versions & 2 rubygems