Delete an article and all its files.

Command Syntax

action-delete-article "FILENAME" [PRESENTATION_FLAGS]
FILE_NAME - The name of the article in the database to be deleted
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php action-delete-article "file.name"
Recreate the metadata in the database.

php spark.php action-delete-article "file.name" theme=DEFAULT
Recreate the metadata in the database, with presentation flags

php spark.php action-delete-article "file.name" -hb theme=DEFAULT
Recreate the metadata in the database, with presentation flags

php spark.php action-delete-article "file.name" -auto -hb theme=DEFAULT
Recreate the metadata in the database, with presentation flags

Back