Sha256: 68b8b2188a260eede4bb05206249db60c065a9a8e383d5efa3b6c8152eaa1f0f

Contents?: true

Size: 649 Bytes

Versions: 4

Compression:

Stored size: 649 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'Dialog methods.'
      command 'dialog' do |g|
        g.desc 'Open a dialog with a user'
        g.long_desc %( Open a dialog with a user )
        g.command 'open' do |c|
          c.flag 'dialog', desc: 'The dialog definition. This must be a JSON-encoded string.'
          c.flag 'trigger_id', desc: 'Exchange a trigger to post to the user.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.dialog_open(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/dialog.rb
slack-ruby-client-2.3.0 bin/commands/dialog.rb
slack-ruby-client-2.2.0 bin/commands/dialog.rb
slack-ruby-client-2.1.0 bin/commands/dialog.rb