Sha256: 4dd4cb116ceae1c78e13943dd736302578a494b11df383ec6aff29d28272e964

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

require 'sct/command_interface'

module Sct

  class InitCommand
    
    IS_PUBLIC_COMMAND = true
    SYNTAX = 'Sct init'
    SUMMARY = 'Initialize a base configuration file for Sct'
    EXAMPLE = 'Sct init'
    EXAMPLE_DESCRIPTION = 'Sct init will create a Sct folder inside your working directory and a Sctfile'
    DESCRIPTION = "Sct init will create a configuration file called Sctfile in your project"
    
    OPTIONS = []
    
    def initialize

    end

    def execute(args, options)
      require "Sct/setup/setup"
      Sct::Setup.start
    end

    implements CommandInterface
  
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sct-0.1.1 lib/sct/commands/init.rb