Sha256: 4c0281b321b7a27f476c46535d2778dd7ee5f7ed1310b5425000976c11c7d025
Contents?: true
Size: 865 Bytes
Versions: 2
Compression:
Stored size: 865 Bytes
Contents
# encoding: utf-8 module GithubCLI class Commands::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>', 'Update 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.1.2 | lib/github_cli/commands/labels.rb |
github_cli-0.1.1 | lib/github_cli/commands/labels.rb |