Class: Mrsk::Cli::Prune
- Inherits:
-
Base
- Object
- Thor
- Base
- Mrsk::Cli::Prune
show all
- Defined in:
- lib/mrsk/cli/prune.rb
Instance Method Summary
collapse
Methods inherited from Base
exit_on_failure?, #initialize
Instance Method Details
#all ⇒ Object
5
6
7
8
|
# File 'lib/mrsk/cli/prune.rb', line 5
def all
invoke :containers
invoke :images
end
|
#containers ⇒ Object
16
17
18
|
# File 'lib/mrsk/cli/prune.rb', line 16
def containers
on(MRSK.hosts) { execute *MRSK.prune.containers }
end
|
#images ⇒ Object
11
12
13
|
# File 'lib/mrsk/cli/prune.rb', line 11
def images
on(MRSK.hosts) { execute *MRSK.prune.images }
end
|