Sha256: 0b7ab1a409eaab86c380dd1affd07fb29e4b5417e4053b51467c9c7c860622d2

Contents?: true

Size: 461 Bytes

Versions: 24

Compression:

Stored size: 461 Bytes

Contents

module Subtrac
  module Commands
    class Create
      def initialize(args, options)
        options.project = ask("What is the name of the project you would like to create? ") if !options.project
        options.client = ask("Which client is this project for? ") if !options.client
        # this needs to load the updated configuration?
        Subtrac.load_config()
        Subtrac.create_project(options.project,options.client)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
ktec-subtrac-0.1.43 lib/subtrac/commands/create.rb
ktec-subtrac-0.1.44 lib/subtrac/commands/create.rb
ktec-subtrac-0.1.45 lib/subtrac/commands/create.rb
ktec-subtrac-0.1.46 lib/subtrac/commands/create.rb