Class: Vtk::Commands::Scan
- Inherits:
-
Thor
- Object
- Thor
- Vtk::Commands::Scan
- Defined in:
- lib/vtk/commands/scan.rb,
lib/vtk/commands/scan/repo.rb,
lib/vtk/commands/scan/actions.rb,
lib/vtk/commands/scan/machine.rb,
lib/vtk/commands/scan/credentials.rb
Overview
Security scanning commands for developer machines and repositories
Defined Under Namespace
Classes: Actions, Credentials, Machine, Repo
Instance Method Summary collapse
Instance Method Details
#actions ⇒ Object
95 96 97 98 99 100 101 102 103 |
# File 'lib/vtk/commands/scan.rb', line 95 def actions if [:help] invoke :help, ['actions'] else require_relative 'scan/actions' exit_status = Vtk::Commands::Scan::Actions.new().execute exit exit_status end end |
#credentials ⇒ Object
64 65 66 67 68 69 70 71 72 |
# File 'lib/vtk/commands/scan.rb', line 64 def credentials if [:help] invoke :help, ['credentials'] else require_relative 'scan/credentials' exit_status = Vtk::Commands::Scan::Credentials.new().execute exit exit_status end end |