Sha256: a336953a95fbdbb8a3ab04ccf307fdee29ab60b791ff7c8b33efe386730fe49d
Contents?: true
Size: 759 Bytes
Versions: 3
Compression:
Stored size: 759 Bytes
Contents
# encoding: utf-8 module Adhearsion module CLI class UnknownCommand < Thor::Error def initialize(cmd) super "Unknown command: #{cmd}" end end class PathRequired < Thor::Error def initialize(cmd) super "A valid path is required for #{cmd}, unless run from an Adhearson app directory" end end class UnknownGeneratorError < Thor::Error def initialize(gentype) puts "Please specify generator to use (#{Adhearsion::Generators.mappings.keys.join(", ")})" super "Unknown command: #{gentype}" end end class PathInvalid < Thor::Error def initialize(path) super "Directory #{path} does not belong to an Adhearsion project!" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems