Group related methods with spacing

This commit is contained in:
dhh
2023-09-16 09:52:54 -07:00
parent 07646bc020
commit 76a3086569

View File

@@ -84,6 +84,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
%(while read line; do echo ${line##{role_config.container_prefix}-}; done) # Extract SHA from "service-role-dest-SHA"
end
def list_containers
docker :container, :ls, "--all", *filter_args
end
@@ -106,6 +107,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
docker :container, :prune, "--force", *filter_args
end
def list_images
docker :image, :ls, config.repository
end
@@ -118,6 +120,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
docker :tag, config.absolute_image, config.latest_image
end
def make_env_directory
make_directory role_config.host_env_directory
end