lib/github_cli/commands/blobs.rb in github_cli-0.1.3 vs lib/github_cli/commands/blobs.rb in github_cli-0.2.0
- old
+ new
@@ -11,9 +11,15 @@
def get(user, repo, sha)
Blob.get user, repo, sha, options[:params]
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
method_option :params, :type => :hash, :default => {},
:desc => 'Additonal request parameters e.i per_page:100'
def create(user, repo)
Blob.create user, repo, options[:params]
end