Sha256: e3f927568f272c1ea7db480dfb541e0702d1c0e88ca70138b6b544aed19726c1
Contents?: true
Size: 1.23 KB
Versions: 9
Compression:
Stored size: 1.23 KB
Contents
# This file was auto-generated by lib/tasks/web.rake desc 'FilesComments methods.' command 'files_comments' do |g| g.desc 'Add a comment to an existing file.' g.long_desc %( Add a comment to an existing file. ) g.command 'add' do |c| c.flag 'comment', desc: 'Text of the comment to add.' c.flag 'file', desc: 'File to add a comment to.' c.action do |_global_options, options, _args| puts JSON.dump($client.files_comments_add(options)) end end g.desc 'Deletes an existing comment on a file.' g.long_desc %( Deletes an existing comment on a file. ) g.command 'delete' do |c| c.flag 'file', desc: 'File to delete a comment from.' c.flag 'id', desc: 'The comment to delete.' c.action do |_global_options, options, _args| puts JSON.dump($client.files_comments_delete(options)) end end g.desc 'Edit an existing file comment.' g.long_desc %( Edit an existing file comment. ) g.command 'edit' do |c| c.flag 'comment', desc: 'Text of the comment to edit.' c.flag 'file', desc: 'File containing the comment to edit.' c.flag 'id', desc: 'The comment to edit.' c.action do |_global_options, options, _args| puts JSON.dump($client.files_comments_edit(options)) end end end
Version data entries
9 entries across 9 versions & 1 rubygems