Sha256: 50d3f5249d6bee62b44fb8b8098f9d2008f6f900c3785209c8a661a7525eb71d

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'ConversationsCanvases methods.'
      command 'conversations_canvases' do |g|
        g.desc 'Create a Channel Canvas for a channel.'
        g.long_desc %( Create a Channel Canvas for a channel. )
        g.command 'create' do |c|
          c.flag 'channel_id', desc: 'Channel ID of the channel we create the channel canvas for.'
          c.flag 'document_content', desc: 'Structure describing the type and value of the content to create.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.conversations_canvases_create(options))
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/conversations_canvases.rb