Sha256: 0ec9d5e2615a6fbb4cef65b6bb190d8411e55ad1fc7f2a451ce08c75e39428e0

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env ruby

require 'namna'

if ARGV.empty? || ARGV.first == '-h' || ARGV.first == '--help'
  puts "namna '<format>'"
  puts "  where:"
  puts "    a-z remains a-z"
  puts "    ? becomes random"
  puts "    * becomes vowel"
  puts "    # becomes consonant"
elsif ARGV.first == '-v' || ARGV.first == '--version'
  puts Namna::VERSION
else
  puts Generator.new(ARGV.first).generate
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
namna-0.0.3 bin/namna