Sha256: ee7361ce9f10189a585453668ee4ccc9c9ab470de04cfcf20acaa9b616579813

Contents?: true

Size: 647 Bytes

Versions: 4

Compression:

Stored size: 647 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Cli
    class App
      desc 'FilesComments methods.'
      command 'files_comments' do |g|
        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
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/files_comments.rb
slack-ruby-client-2.3.0 bin/commands/files_comments.rb
slack-ruby-client-2.2.0 bin/commands/files_comments.rb
slack-ruby-client-2.1.0 bin/commands/files_comments.rb