(Quick Reference)

cf-get-file

Purpose

Display or download a single file.

Description

Displays the specified file to the console, or to a file if specified. Only text files are supported.

Usage:

grails cf-get-file <path>  [--appname][destination] [--instance]

Required arguments:

  • path - The relative path to the file on the server

Optional arguments:

  • appname - The name of the application
  • destination - Filename to write the file to
  • instance - The application instance number; defaults to 1