Delete a single Describe file in the database.
The user runs a command like files-list to list the raw files in the database, then runs file-delete to delete a single file.
This command is useful when there is some kind of a bug, and we want to delete a file, where something went wrong and we are manually fixing it, before recompiling the database.

Command Syntax

file-delete FILE_NAME [PRESENTATION_FLAGS]
FILE_NAME - The name of the file in the database.
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php file-delete "root.name"
Delete a file

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

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

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

Back