Fetch a single file from the database. Output the contents of that file to the console.

Command Syntax

file-view FILE_NAME [PRESENTATION_FLAGS]
FILE_NAME - The name of the raw source file in the database to be viewed
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php file-view "root.name"
view a file

php spark.php file-view "root.name" theme=DEFAULT
view a file with presentation flags

php spark.php file-view "root.name" -hb theme=DEFAULT
view a file with presentation flags

php spark.php file-view "root.name" -auto -hb theme=DEFAULT
view a file with presentation flags

Back