bin/commands/canvases_sections.rb
# 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