Sha256: e4e3b5d5e301926dfa80c1e1e993d3c02d87421537d0ccd71562f9b687f1efc7

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'CanvasesSections methods.'
      command 'canvases_sections' do |g|
        g.desc 'Find sections matching the provided criteria'
        g.long_desc %( Find sections matching the provided criteria )
        g.command 'lookup' do |c|
          c.flag 'canvas_id', desc: 'Encoded ID of the canvas.'
          c.flag 'criteria', desc: 'Filtering criteria.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.canvases_sections_lookup(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/canvases_sections.rb