Class: GitWorkflow::Commands::Setup

Inherits:
Base
  • Object
show all
Defined in:
lib/git_workflow/commands/setup.rb

Constant Summary

Constants included from GitWorkflow::CommandLine

GitWorkflow::CommandLine::InvalidCommandLine

Instance Method Summary collapse

Methods inherited from Base

#command_specific_options, #initialize

Methods included from Git

#checkout_or_create_branch, #get_config_value_for, #get_config_value_for!, #in_git_branch, #merge_branch, #repository, #set_config_value

Methods included from Logging

default_logger, included, logger, logger=

Methods included from Execution

#execute_command, #execute_command_with_output_handling

Constructor Details

This class inherits a constructor from GitWorkflow::Commands::Base

Instance Method Details

#executeObject



25
26
27
28
29
# File 'lib/git_workflow/commands/setup.rb', line 25

def execute
  [ :name, :token, :project_id, :workflow, :branches ].each do |step|
    send(:"enquire_about_#{ step }")
  end
end