Sha256: f2e1c768ac7fb3ec28e2fd6867983055aff0b529f3ea8fed61235bf40944246a

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.2 lib/sct/commands/init.rb