Sha256: a30ff2a96b8a963e819b00b4ca3f423d57d6b1c92e465cf268994f40c899fc64
Contents?: true
Size: 885 Bytes
Versions: 3
Compression:
Stored size: 885 Bytes
Contents
module Vedeu # Provide a command line interface to Vedeu. # module CLI # The main command line interface commands. # class Main < Thor desc 'new <name>', 'Create a skeleton Vedeu client application.' # @param name [String] # @return [String] def new(name) say(Vedeu::CLI::Application.generate(name)) end # 'Specify the interface name lowercase snakecase; e.g. main_interface' desc 'view <name>', 'Create a new interface within the client application.' # @param name [String] # @return [String] def view(name) Vedeu::CLI::View.generate(name) end desc 'version', 'Print the version.' # @return [String] def version say("vedeu #{Vedeu::VERSION} (vedeu_cli #{Vedeu::CLI::VERSION})") end end # Main end # CLI end # Vedeu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu_cli-0.0.3 | lib/vedeu/cli/main.rb |
vedeu_cli-0.0.2 | lib/vedeu/cli/main.rb |
vedeu_cli-0.0.1 | lib/vedeu/cli/main.rb |