Sha256: 69ab2817e64ce1db4fd700da4ac5dce2eee1f5762377e1056ddf489b356ffdb0

Contents?: true

Size: 650 Bytes

Versions: 5

Compression:

Stored size: 650 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Commands::Merging < Command

    namespace :merge

    desc 'perform <user> <repo>', 'Perform merge'
    long_desc <<-DESC
      Inputs

      base - Required String - The name of the base branch that the head will be merged into.\n
      head - Required String - The head to merge. This can be a branch name or a commit SHA1. \n
      commit_message - Optional String - Commit message to use for the merge commit. If omitted, a default message will be used.\n
    DESC
    def perform(user, repo)
      Merging.merge user, repo, options[:params], options[:format]
    end

  end # Merging
end # GithubCLI

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
github_cli-0.5.7 lib/github_cli/commands/merging.rb
github_cli-0.5.6 lib/github_cli/commands/merging.rb
github_cli-0.5.5 lib/github_cli/commands/merging.rb
github_cli-0.5.4 lib/github_cli/commands/merging.rb
github_cli-0.5.3 lib/github_cli/commands/merging.rb