Class: Dependabot::CLI::Application
- Inherits:
-
Thor
- Object
- Thor
- Dependabot::CLI::Application
- Defined in:
- lib/dependabot/cli.rb
Instance Method Summary collapse
Instance Method Details
#scan(path = Pathname.pwd) ⇒ Object
15 16 17 18 |
# File 'lib/dependabot/cli.rb', line 15 def scan(path = Pathname.pwd) Dependabot.logger.level = :debug if [:verbose] ::Dependabot::CLI::Scan.new(path, ).run end |
#version ⇒ Object
21 22 23 |
# File 'lib/dependabot/cli.rb', line 21 def version $stdout.puts "v#{Dependabot::VERSION}" end |