Class: S3sec::CLI
- Inherits:
-
Thor
- Object
- Thor
- S3sec::CLI
- Defined in:
- lib/s3sec/cli.rb
Overview
Handle the application command line parsing and the dispatch to various command objects
Constant Summary collapse
- Error =
Error raised by this runner
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#check ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/s3sec/cli.rb', line 24 def check(*) if [:help] invoke :help, ['check'] else require_relative 'commands/check' S3sec::Commands::Check.new().execute end end |