# This prompt provides easy access to a running container named 'utility' on the
jumpCommand: docker exec -it utility
# To allow users accessing this shell to download files from inside the container
# instead of from the example.com server they are connected to, Cased Shell supports
# running a command on the server before downloading a file using the `preDownloadCommand`
# The tokens `{filepath}` and `{filename}` will be replaced with the path and basename
# of the file to download. The command is expected to output the full path to the file
# on the server to stdout. In this example, we create a directory, extract the file from
# the running container with `docker cp`, and then output the full path to the file.
sh -c 'mkdir -p /tmp/cased-downloads; docker cp utitlity:{filepath} /tmp/cased-downloads/; echo /tmp/cased-downloads/{filename}'