bin/slack in slack-ruby-client-0.10.0 vs bin/slack in slack-ruby-client-0.11.0
- old
+ new
@@ -7,10 +7,10 @@
program_desc 'Slack client.'
default_command :help
-switch [:d, :debug], desc: 'Enable debug-level logging.', default_value: false
+switch %i[d debug], desc: 'Enable debug-level logging.', default_value: false
flag [:t, 'slack-api-token'], desc: 'Slack API token.', default_value: ENV['SLACK_API_TOKEN']
flag ['vcr-cassette-name'], desc: 'Offline VCR cassette.'
pre do |global_options, _command, options, _args|
# global Slack configuration