Delete a single JSON file in the database.
The user runs a command like jsons-list to list the json files in the database, then runs json-delete to delete a single json file.

Command Syntax

json-delete FILE_NAME [PRESENTATION_FLAGS]
FILE_NAME - The name of the json 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 json-delete "root.name"
Delete a json file

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

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

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

Back