Sha256: c14604e70dfd633480710b67884b41c5dacee4d63322064ec45882694dcfdb8d

Contents?: true

Size: 638 Bytes

Versions: 7

Compression:

Stored size: 638 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Commands::Assignees < Command

    namespace :assignee

    desc 'list <user> <repo>', 'Lists all the available assignees'
    long_desc <<-DESC
      Lists all the available assignees (owner + collaborators) to which issues may be assigned
    DESC
    def list(user, repo)
      Assignee.all user, repo, options[:params], options[:format]
    end

    desc 'check <user> <repo> <assignee>', 'Check if <assignee> is assigned to <repo>'
    def check(user, repo, assignee)
      Assignee.check user, repo, assignee, options[:params], options[:format]
    end

  end # Assignees
end # GithubCLI

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github_cli-0.5.9 lib/github_cli/commands/assignees.rb
github_cli-0.5.8 lib/github_cli/commands/assignees.rb
github_cli-0.5.7 lib/github_cli/commands/assignees.rb
github_cli-0.5.6 lib/github_cli/commands/assignees.rb
github_cli-0.5.5 lib/github_cli/commands/assignees.rb
github_cli-0.5.4 lib/github_cli/commands/assignees.rb
github_cli-0.5.3 lib/github_cli/commands/assignees.rb