lib/takeltau/ship/container/cli.rb in takeltau-0.43.2 vs lib/takeltau/ship/container/cli.rb in takeltau-0.43.4
- old
+ new
@@ -10,10 +10,11 @@
include ShipInfoLib
include ShipContainerCheckExisting
include ShipContainerLib
include ShipContainerLogin
include ShipContainerPodman
+ include ShipContainerUpdate
desc 'check [COMMAND]', 'Check takelship container'
subcommand 'check', ShipContainerCheck
#
@@ -36,8 +37,20 @@
Run podman command
LONGDESC
# Run podman command.
def podman(*args)
say ship_container_podman args
+ end
+
+ #
+ # ship container update
+ #
+ desc 'update', 'Update takelship image'
+ long_desc <<-LONGDESC.gsub("\n", "\x5")
+ Update takelship image
+ LONGDESC
+ # Update takelship image.
+ def update
+ ship_container_update
end
end
end