Sha256: c796de2348ad27b0418ac47080b2cebd1d911696de634655b31542e1cfbb39b8

Contents?: true

Size: 576 Bytes

Versions: 12

Compression:

Stored size: 576 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Commands::Blobs < Command

    namespace :blob

    desc 'get <user> <repo> <sha>', 'Get a Blob'
    def get(user, repo, sha)
      Blob.get user, repo, sha, options[:params], options[:format]
    end

    desc 'create <user> <repo>', 'Create a new Blob'
    long_desc <<-DESC
      Inputs

        content - String of content \n
        encoding - String containing encoding utf-8 or base64
    DESC
    def create(user, repo)
      Blob.create user, repo, options[:params], options[:format]
    end

  end # Blobs
end # GithubCLI

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
github_cli-0.5.7 lib/github_cli/commands/blobs.rb
github_cli-0.5.6 lib/github_cli/commands/blobs.rb
github_cli-0.5.5 lib/github_cli/commands/blobs.rb
github_cli-0.5.4 lib/github_cli/commands/blobs.rb
github_cli-0.5.3 lib/github_cli/commands/blobs.rb
github_cli-0.5.2 lib/github_cli/commands/blobs.rb
github_cli-0.5.1 lib/github_cli/commands/blobs.rb
github_cli-0.5.0 lib/github_cli/commands/blobs.rb
github_cli-0.4.4 lib/github_cli/commands/blobs.rb
github_cli-0.4.3 lib/github_cli/commands/blobs.rb
github_cli-0.4.2 lib/github_cli/commands/blobs.rb
github_cli-0.4.1 lib/github_cli/commands/blobs.rb