Sha256: 0fa80bd457e083728431cf3015ed536b3cafc5fe8e496d2785dcd31e417f0b96

Contents?: true

Size: 920 Bytes

Versions: 3

Compression:

Stored size: 920 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'FunctionsWorkflowsSteps methods.'
      command 'functions_workflows_steps' do |g|
        g.desc "List the steps of a specific function of a workflow's versions"
        g.long_desc %( List the steps of a specific function of a workflow's versions )
        g.command 'list' do |c|
          c.flag 'function_id', desc: 'The ID of the function to query.'
          c.flag 'workflow', desc: 'The workflow encoded ID or workflow reference.'
          c.flag 'workflow_app_id', desc: 'The app tied to the workflow reference.'
          c.flag 'workflow_id', desc: 'The workflow ID, starts with Wf*.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.functions_workflows_steps_list(options))
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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