Sha256: 656bddf15f95f47b461644c5ebbbf23e13ca8896f4d073707c9b2d954bc065a1
Contents?: true
Size: 897 Bytes
Versions: 1
Compression:
Stored size: 897 Bytes
Contents
class Tane::Commands::Init < Tane::Commands::Base class << self def process(args) verbose_say("authenticating you...") authenticate_user verbose_say("done!") if in_rails_dir? verbose_say("In a rails directory, tane initializing...") Tane::Helpers::Init.initialize_app verbose_say("finished initializing!") else term.say("You have to be in the local rails app's root directory when running `tane init`") exit 1 end end def help_text <<-EOL Usage: tane init Creates a `.bushido` directory within the directory of the rails application. That holds all the config that enables you to run applications and commands in a Bushido environment. It also deploys a development application on Bushido that allows your local application to use resources on the Bushido platform. EOL end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tane-0.0.2 | lib/tane/commands/init.rb |