bin/danger-swiftlint in danger-swiftlint-0.10.1 vs bin/danger-swiftlint in danger-swiftlint-0.10.2
- old
+ new
@@ -1,12 +1,14 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
if $PROGRAM_NAME == __FILE__
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
end
require 'thor'
require 'version'
+# The class defining the CLI interface of the plugin.
class DangerSwiftlintCLI < Thor
desc 'version', 'The version of the installed danger-swiftlint plugin'
def version
puts DangerSwiftlint::VERSION
end