Class: Railsbytes::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/railsbytes/cli.rb

Instance Method Summary collapse

Instance Method Details

#install(name) ⇒ Object



17
18
19
20
# File 'lib/railsbytes/cli.rb', line 17

def install(name)
  require_relative 'commands/install'
  Railsbytes::Commands::Install.new(name).execute
end

#versionObject



10
11
12
13
# File 'lib/railsbytes/cli.rb', line 10

def version
  require_relative 'version'
  puts "v#{Railsbytes::VERSION}"
end