Sha256: e6518d23597e3659888dbe4a04cb8645049748454e341dc333364ddfbdc4d61b

Contents?: true

Size: 885 Bytes

Versions: 1

Compression:

Stored size: 885 Bytes

Contents

# encoding: utf-8

require 'github_cli/command'

module GithubCLI
  class Labels < Command

    namespace :label

    desc 'list', 'Listing all labels for this repository.'
    def list
    end

    desc 'get <user>, <repo>', 'Get a single label.'
    method_option :name, :type => :string, :required => true
    def get(user, repo)
    end

    desc 'create <user>, <repo>', 'Create a label.'
    method_option :params, :type => :hash
    def create(user, repo)
    end

    method_option :name, :type => :string, :required => true
    desc 'update <user>, <repo>', 'Create a label.'
    method_option :params, :type => :hash
    def update(user, repo)
    end

    method_option :name, :type => :string, :required => true
    desc 'delete <user>, <repo>', 'Delete a label.'
    method_option :params, :type => :hash
    def delete(user, repo)
    end

  end # Labels
end # GithubCLI

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.1.0 lib/github_cli/labels.rb