Class: Dply::Cli::Depcheck
- Inherits:
-
Object
- Object
- Dply::Cli::Depcheck
- Includes:
- Helper
- Defined in:
- lib/dply/cli/depcheck.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Depcheck
constructor
A new instance of Depcheck.
- #run ⇒ Object
Methods included from Helper
#cmd, #error, #git, #logger, #sh, #symlink
Constructor Details
#initialize(argv) ⇒ Depcheck
10 11 12 |
# File 'lib/dply/cli/depcheck.rb', line 10 def initialize(argv) @argv = argv end |
Instance Method Details
#run ⇒ Object
14 15 16 17 18 19 |
# File 'lib/dply/cli/depcheck.rb', line 14 def run tar_path = @argv.shift error "tar path not specified" if not tar_path deplist = Deplist.new(tar_path) deplist.verify! end |